diff options
author | Don Zickus <dzickus@redhat.com> | 2010-11-29 17:07:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-12-09 18:01:06 -0500 |
commit | 96a84c20d635fb1e98ab92f9fc517c4441f5c424 (patch) | |
tree | 0bbc7fef23879f1f468e4521ca22bb0585a001ac /include/linux/nmi.h | |
parent | 2c6cb1053ad8b61ab9fb50b578d0ffea959f7583 (diff) |
lockup detector: Compile fixes from removing the old x86 nmi watchdog
My patch that removed the old x86 nmi watchdog broke other
arches. This change reverts a piece of that patch and puts the
change in the correct spot.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: fweisbec@gmail.com
Cc: yinghai@kernel.org
LKML-Reference: <1291068437-5331-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/nmi.h')
-rw-r--r-- | include/linux/nmi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h index 1c451e6ecc17..17ccf44e7dcb 100644 --- a/include/linux/nmi.h +++ b/include/linux/nmi.h | |||
@@ -16,7 +16,8 @@ | |||
16 | */ | 16 | */ |
17 | #ifdef ARCH_HAS_NMI_WATCHDOG | 17 | #ifdef ARCH_HAS_NMI_WATCHDOG |
18 | #include <asm/nmi.h> | 18 | #include <asm/nmi.h> |
19 | #endif | 19 | extern void touch_nmi_watchdog(void); |
20 | #else | ||
20 | #ifndef CONFIG_HARDLOCKUP_DETECTOR | 21 | #ifndef CONFIG_HARDLOCKUP_DETECTOR |
21 | static inline void touch_nmi_watchdog(void) | 22 | static inline void touch_nmi_watchdog(void) |
22 | { | 23 | { |
@@ -25,6 +26,7 @@ static inline void touch_nmi_watchdog(void) | |||
25 | #else | 26 | #else |
26 | extern void touch_nmi_watchdog(void); | 27 | extern void touch_nmi_watchdog(void); |
27 | #endif | 28 | #endif |
29 | #endif | ||
28 | 30 | ||
29 | /* | 31 | /* |
30 | * Create trigger_all_cpu_backtrace() out of the arch-provided | 32 | * Create trigger_all_cpu_backtrace() out of the arch-provided |