]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] remove dead code: __cpu_{down,die} from !HOTPLUG_CPU
authorJan Beulich <jbeulich@novell.com>
Tue, 5 Feb 2008 07:43:02 +0000 (23:43 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 5 Feb 2008 16:26:08 +0000 (08:26 -0800)
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>
arch/ia64/kernel/smpboot.c

index f0fc4d8465ad172cc9f4f0ce4215de85b3b3a09a..480b1a5085d542d22618b29a7e763e8f8f3904d6 100644 (file)
@@ -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