/* Called by boot processor to activate the rest. */
static void __init smp_init(void)
{
- unsigned int i, j=0;
+ unsigned int i;
+ unsigned j = 0;
/* FIXME: This should be done in userspace --RR */
for (i = 0; i < NR_CPUS; i++) {
if (num_online_cpus() >= max_cpus)
break;
if (cpu_possible(i) && !cpu_online(i)) {
- printk("Bringing up %i\n", i);
cpu_up(i);
j++;
}
}
/* Any cleanup work */
- printk("CPUS done %u\n", j);
+ printk("Brought up %u CPUs\n", j);
smp_cpus_done(max_cpus);
#if 0
/* Get other processors into their bootup holding patterns. */
BUG();
/* Now call notifier in preparation. */
- printk("CPU %u IS NOW UP!\n", cpu);
notifier_call_chain(&cpu_chain, CPU_ONLINE, hcpu);
out_notify:
int i, j, k, node, local_node;
local_node = pgdat->node_id;
- printk("Building zonelist for node : %d\n", local_node);
for (i = 0; i < MAX_NR_ZONES; i++) {
struct zonelist *zonelist;
for(i = 0 ; i < numnodes ; i++)
build_zonelists(NODE_DATA(i));
+ printk("Built %i zonelists\n", numnodes);
}
/*