summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-02-04 23:43:02 -0800
committerTony Luck <tony.luck@intel.com>2008-02-05 08:26:08 -0800
commitef3c4cb936d854d1564172f2dcce9c20d1b08761 (patch)
treefbcc9d49dcc8d4087c5db51226ae1d9bf5097f4d /arch/ia64
parent920ed9f194effd10c273a4040114d3d8e6eed95f (diff)
downloadop-kernel-dev-ef3c4cb936d854d1564172f2dcce9c20d1b08761.zip
op-kernel-dev-ef3c4cb936d854d1564172f2dcce9c20d1b08761.tar.gz
[IA64] remove dead code: __cpu_{down,die} from !HOTPLUG_CPU
Neither __cpu_down() nor __cpu_die() are being referenced without CONFIG_HOTPLUG_CPU. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/smpboot.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index f0fc4d8..480b1a5 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/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
OpenPOWER on IntegriCloud