Explorar o código

[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>
Jan Beulich %!s(int64=17) %!d(string=hai) anos
pai
achega
ef3c4cb936
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      arch/ia64/kernel/smpboot.c

+ 0 - 11
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