* [patch 1/4] ia64: remove dead code
@ 2008-02-05 7:43 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-02-05 7:43 UTC (permalink / raw)
To: linux-ia64
From: "Jan Beulich" <jbeulich@novell.com>
Neither __cpu_down() nor __cpu_die() are being referenced without
CONFIG_HOTPLUG_CPU.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/ia64/kernel/smpboot.c | 11 -----------
1 file changed, 11 deletions(-)
diff -puN arch/ia64/kernel/smpboot.c~ia64-remove-dead-code arch/ia64/kernel/smpboot.c
--- a/arch/ia64/kernel/smpboot.c~ia64-remove-dead-code
+++ a/arch/ia64/kernel/smpboot.c
@@ -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:[~2008-02-05 7:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 7:43 [patch 1/4] ia64: remove dead code akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox