aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nmi.h
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2010-11-12 11:22:23 -0500
committerIngo Molnar <mingo@elte.hu>2010-11-18 03:08:23 -0500
commit5f2b0ba4d94b3ac23cbc4b7f675d98eb677a760a (patch)
tree32fc744a15b13becdb559963ea982f07ce9a1d37 /include/linux/nmi.h
parenta89d4bd055718d3b4ddb380ee22951a1300b4096 (diff)
x86, nmi_watchdog: Remove the old nmi_watchdog
Now that we have a new nmi_watchdog that is more generic and sits on top of the perf subsystem, we really do not need the old nmi_watchdog any more. In addition, the old nmi_watchdog doesn't really work if you are using the default clocksource, hpet. The old nmi_watchdog code relied on local apic interrupts to determine if the cpu is still alive. With hpet as the clocksource, these interrupts don't increment any more and the old nmi_watchdog triggers false postives. This piece removes the old nmi_watchdog code and stubs out any variables and functions calls. The stubs are the same ones used by the new nmi_watchdog code, so it should be well tested. Signed-off-by: Don Zickus <dzickus@redhat.com> Cc: fweisbec@gmail.com Cc: gorcunov@openvz.org LKML-Reference: <1289578944-28564-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.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 06aab5eee134..0cb3e5c246d0 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -16,10 +16,7 @@
16 */ 16 */
17#ifdef ARCH_HAS_NMI_WATCHDOG 17#ifdef ARCH_HAS_NMI_WATCHDOG
18#include <asm/nmi.h> 18#include <asm/nmi.h>
19extern void touch_nmi_watchdog(void); 19#endif
20extern void acpi_nmi_disable(void);
21extern void acpi_nmi_enable(void);
22#else
23#ifndef CONFIG_HARDLOCKUP_DETECTOR 20#ifndef CONFIG_HARDLOCKUP_DETECTOR
24static inline void touch_nmi_watchdog(void) 21static inline void touch_nmi_watchdog(void)
25{ 22{
@@ -30,7 +27,6 @@ extern void touch_nmi_watchdog(void);
30#endif 27#endif
31static inline void acpi_nmi_disable(void) { } 28static inline void acpi_nmi_disable(void) { }
32static inline void acpi_nmi_enable(void) { } 29static inline void acpi_nmi_enable(void) { }
33#endif
34 30
35/* 31/*
36 * Create trigger_all_cpu_backtrace() out of the arch-provided 32 * Create trigger_all_cpu_backtrace() out of the arch-provided