nmi_watchdog: Compile and portability fixes
authorDon Zickus <dzickus@redhat.com>
Fri, 12 Feb 2010 22:19:19 +0000 (17:19 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Feb 2010 08:19:43 +0000 (09:19 +0100)
commit504d7cf10ee42bb76b9556859f23d4121dee0a77
treeedaa43a7c221f0926d150dbbeb38abc5fe0f1cc6
parentc3128fb6ad39b0edda6675d20585a64846cf89ea
nmi_watchdog: Compile and portability fixes

The original patch was x86_64 centric.  Changed the code to make
it less so.

ested by building and running on a powerpc.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: peterz@infradead.org
Cc: gorcunov@gmail.com
Cc: aris@redhat.com
LKML-Reference: <1266013161-31197-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/hw_nmi.c
include/linux/nmi.h
kernel/nmi_watchdog.c
kernel/sysctl.c