aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authormingo@elte.hu <mingo@elte.hu>2008-06-05 05:18:12 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-06-05 09:15:10 -0400
commit75b9f5d2a0318da9d5e694a9a1be33f46b4c021e (patch)
treed53e01ad275abf003726639aaa1a3b0744d7afa5 /arch
parent1a1b1d1322ebd1ece405f3057cdd408bc77e391d (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/nmi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c
index 27ca8f69b466..19f1b95265cf 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)
88#endif 88#endif
89} 89}
90 90
91#ifdef CONFIG_X86_64
92/* Run after command line and cpu_init init, but before all other checks */ 91/* Run after command line and cpu_init init, but before all other checks */
93void nmi_watchdog_default(void) 92void nmi_watchdog_default(void)
94{ 93{
@@ -96,7 +95,6 @@ void nmi_watchdog_default(void)
96 return; 95 return;
97 nmi_watchdog = NMI_NONE; 96 nmi_watchdog = NMI_NONE;
98} 97}
99#endif
100 98
101#ifdef CONFIG_SMP 99#ifdef CONFIG_SMP
102/* 100/*