]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86, nmi: fix build
authormingo@elte.hu <mingo@elte.hu>
Thu, 5 Jun 2008 09:18:12 +0000 (11:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Jun 2008 13:15:10 +0000 (15:15 +0200)
fix:

arch/x86/kernel/built-in.o: In function `proc_nmi_enabled':
: undefined reference to `nmi_watchdog_default'
arch/x86/kernel/built-in.o: In function `native_smp_prepare_cpus':
: undefined reference to `nmi_watchdog_default'

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/nmi.c

index 27ca8f69b466767a086c369f4c67a36235aa847f..19f1b95265cfeaf1cb80a569f5d382102ba63413 100644 (file)
@@ -88,7 +88,6 @@ static inline unsigned int get_timer_irqs(int cpu)
 #endif
 }
 
-#ifdef CONFIG_X86_64
 /* Run after command line and cpu_init init, but before all other checks */
 void nmi_watchdog_default(void)
 {
@@ -96,7 +95,6 @@ void nmi_watchdog_default(void)
                return;
        nmi_watchdog = NMI_NONE;
 }
-#endif
 
 #ifdef CONFIG_SMP
 /*