]> err.no Git - linux-2.6/commit
i386: Fix the K7 NMI watchdog checkbit
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Sun, 22 Jul 2007 09:12:41 +0000 (11:12 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000 (11:03 -0700)
commita284b0518d2fe27cdde19485c8fe077a128cd827
treeee6b9923cf1122b3f08f3bfc4074a8cef36f0d8f
parente05aff854c9f348629bb66c191eee87e4d002900
i386: Fix the K7 NMI watchdog checkbit

The performance counters on K7 are only 48 bits wide, so using bit 63 to
check if the counter overflowed is wrong. Let's use bit 47 instead.

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