* [PATCH] init: Remove commented, obsolete code invoking smp_commence().
@ 2006-12-14 19:39 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2006-12-14 19:39 UTC (permalink / raw)
To: Linux kernel mailing list; +Cc: trivial
Remove the "#if 0"ed call to smp_commence, which is clearly
obsolete.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
---
There appears to be no value to leaving that call in the code, given
that the source file "arch/ia64/kernel/smpboot.c" explains:
"Switch over to hotplug-CPU boot-sequence.
smp_boot_cpus()/smp_commence() is replaced by
smp_prepare_cpus()/__cpu_up()/smp_cpus_done()."
diff --git a/init/main.c b/init/main.c
index e3f0bb2..a148039 100644
--- a/init/main.c
+++ b/init/main.c
@@ -397,11 +397,6 @@ static void __init smp_init(void)
/* Any cleanup work */
printk(KERN_INFO "Brought up %ld CPUs\n", (long)num_online_cpus());
smp_cpus_done(max_cpus);
-#if 0
- /* Get other processors into their bootup holding patterns. */
-
- smp_commence();
-#endif
}
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-14 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 19:39 [PATCH] init: Remove commented, obsolete code invoking smp_commence() Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®