/* Three ways to find out the number of additional hotplug CPUs: */
__init void prefill_possible_map(void)
/* Three ways to find out the number of additional hotplug CPUs: */
__init void prefill_possible_map(void)
{
	int i, possible;
	if (!num_processors)
		num_processors = 1;
	if (setup_possible_cpus == -1)
		possible = num_processors + disabled_cpus;
	else
		possible = setup_possible_cpus;
	total_cpus = max_t(int, possible, num_processors + disabled_cpus);
	if (possible > CONFIG_NR_CPUS) {
		printk(KERN_WARNING
			"%d Processors exceeds NR_CPUS limit of %d\n",
			possible, CONFIG_NR_CPUS);
		possible = CONFIG_NR_CPUS;
	}
	printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n",
		possible, max_t(int, possible - num_processors, 0));
	for (i = 0; i < possible; i++)
		set_cpu_possible(i, true);
	nr_cpu_ids = possible;
}