/* inventory.c:do_inventory() hasn't yet been run and thus we don't 'discover' the additional CPUs until later.  */
void __init smp_prepare_cpus(unsigned int max_cpus)
/* inventory.c:do_inventory() hasn't yet been run and thus we don't 'discover' the additional CPUs until later.  */
void __init smp_prepare_cpus(unsigned int max_cpus)
{
	int cpu;
	for_each_possible_cpu(cpu)
		spin_lock_init(&per_cpu(ipi_lock, cpu));
	init_cpu_present(cpumask_of(0));
	parisc_max_cpus = max_cpus;
	if (!max_cpus)
		printk(KERN_INFO "SMP mode deactivated.\n");
}