From: mingo@elte.hu Date: Thu, 5 Jun 2008 09:18:12 +0000 (+0200) Subject: x86, nmi: fix build X-Git-Tag: v2.6.27-rc1~1106^2~245^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=75b9f5d2a0318da9d5e694a9a1be33f46b4c021e;p=linux-2.6-omap-h63xx.git x86, nmi: fix build 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 --- diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c index 27ca8f69b46..19f1b95265c 100644 --- a/arch/x86/kernel/nmi.c +++ b/arch/x86/kernel/nmi.c @@ -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 /*