diff options
author | Don Zickus <dzickus@redhat.com> | 2010-11-12 11:22:23 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-18 03:08:23 -0500 |
commit | 5f2b0ba4d94b3ac23cbc4b7f675d98eb677a760a (patch) | |
tree | 32fc744a15b13becdb559963ea982f07ce9a1d37 /kernel/sysctl.c | |
parent | a89d4bd055718d3b4ddb380ee22951a1300b4096 (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 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b65bf634035e..ce33e2a2afea 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -746,22 +746,6 @@ static struct ctl_table kern_table[] = { | |||
746 | .extra2 = &one, | 746 | .extra2 = &one, |
747 | }, | 747 | }, |
748 | #endif | 748 | #endif |
749 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) && !defined(CONFIG_LOCKUP_DETECTOR) | ||
750 | { | ||
751 | .procname = "unknown_nmi_panic", | ||
752 | .data = &unknown_nmi_panic, | ||
753 | .maxlen = sizeof (int), | ||
754 | .mode = 0644, | ||
755 | .proc_handler = proc_dointvec, | ||
756 | }, | ||
757 | { | ||
758 | .procname = "nmi_watchdog", | ||
759 | .data = &nmi_watchdog_enabled, | ||
760 | .maxlen = sizeof (int), | ||
761 | .mode = 0644, | ||
762 | .proc_handler = proc_nmi_enabled, | ||
763 | }, | ||
764 | #endif | ||
765 | #if defined(CONFIG_X86) | 749 | #if defined(CONFIG_X86) |
766 | { | 750 | { |
767 | .procname = "panic_on_unrecovered_nmi", | 751 | .procname = "panic_on_unrecovered_nmi", |