]> git.baikalelectronics.ru Git - kernel.git/commit
i386: use the right wrapper to disable the NMI watchdog
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Sat, 16 Jun 2007 17:15:56 +0000 (10:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 16 Jun 2007 20:16:15 +0000 (13:16 -0700)
commit98d1f2655c89939c6b69852e879b2b4464696ddb
treeba775434be453148ff2d0625359716c2fa5354fa
parent4ae3151a94f59415e17c36f95924daa3b5b3b81b
i386: use the right wrapper to disable the NMI watchdog

When disabled through /proc/sys/kernel/nmi_watchdog, the NMI watchdog uses the
stop() method directly, which does not decrement the activity counter, leading
to a BUG().  Use the wrapper function instead to fix that.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/perfctr-watchdog.c