Browse Source

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 <mingo@elte.hu>
mingo@elte.hu 17 years ago
parent
commit
75b9f5d2a0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/x86/kernel/nmi.c

+ 0 - 2
arch/x86/kernel/nmi.c

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