x86, nmi_watchdog: Remove the old nmi_watchdog
authorDon Zickus <dzickus@redhat.com>
Fri, 12 Nov 2010 16:22:23 +0000 (11:22 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 08:08:23 +0000 (09:08 +0100)
commit5f2b0ba4d94b3ac23cbc4b7f675d98eb677a760a
tree32fc744a15b13becdb559963ea982f07ce9a1d37
parenta89d4bd055718d3b4ddb380ee22951a1300b4096
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>
arch/x86/include/asm/nmi.h
arch/x86/kernel/apic/Makefile
arch/x86/kernel/apic/hw_nmi.c
arch/x86/kernel/apic/nmi.c [deleted file]
arch/x86/kernel/traps.c
include/linux/nmi.h
kernel/sysctl.c