Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ef3c4cb936d854d1564172f2dcce9c20d1b08761
Commit:     ef3c4cb936d854d1564172f2dcce9c20d1b08761
Parent:     920ed9f194effd10c273a4040114d3d8e6eed95f
Author:     Jan Beulich <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 4 23:43:02 2008 -0800
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 08:26:08 2008 -0800

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/smpboot.c |   11 -----------
 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to