* [PATCH] ia64: remove dead code
@ 2007-12-12 15:20 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2007-12-12 15:20 UTC (permalink / raw)
To: tony.luck; +Cc: linux-ia64, linux-kernel
Neither __cpu_down() nor __cpu_die() are being referenced without
CONFIG_HOTPLUG_CPU.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/ia64/kernel/smpboot.c | 11 -----------
1 file changed, 11 deletions(-)
--- linux-2.6.24-rc5/arch/ia64/kernel/smpboot.c 2007-12-12 12:27:11.000000000 +0100
+++ 2.6.24-rc5-ia64-cpu-die/arch/ia64/kernel/smpboot.c 2007-12-07 16:12:33.000000000 +0100
@@ -767,17 +767,6 @@ void __cpu_die(unsigned int cpu)
}
printk(KERN_ERR "CPU %u didn't die...\n", cpu);
}
-#else /* !CONFIG_HOTPLUG_CPU */
-int __cpu_disable(void)
-{
- return -ENOSYS;
-}
-
-void __cpu_die(unsigned int cpu)
-{
- /* We said "no" in __cpu_disable */
- BUG();
-}
#endif /* CONFIG_HOTPLUG_CPU */
void
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-12 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 15:20 [PATCH] ia64: remove dead code Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox