]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: Clean up NMI watchdog code
authorAndi Kleen <ak@suse.de>
Wed, 2 May 2007 17:27:20 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:20 +0000 (19:27 +0200)
commitdfcff6f5ed1e77c8b30604788fb6a182f42eabdf
tree3b13e10f47007f882a7c69be5a043384a6b4a930
parent665ab2f102508ae7d06bad17265fd4dc47fe910b
[PATCH] i386: Clean up NMI watchdog code

- Introduce a wd_ops structure
- Convert the various nmi watchdogs over to it
- This allows to split the perfctr reservation from the watchdog
setup cleanly.
- Do perfctr reservation globally as it should have always been
- Remove dead code referenced only by unused EXPORT_SYMBOLs

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/cpu/Makefile
arch/i386/kernel/cpu/perfctr-watchdog.c [new file with mode: 0644]
arch/i386/kernel/nmi.c
include/asm-i386/nmi.h