i386: Handle P6s without performance counters in nmi watchdog
authorAndi Kleen <ak@suse.de>
Sun, 22 Jul 2007 09:12:39 +0000 (11:12 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000 (11:03 -0700)
commit57c22f49e4c7d27a03e109a317c30b12f1bae0b2
tree093eb013114e2906cca0f7b6524c0b506adf5833
parentf25f64ed5bd3c2932493681bdfdb483ea707da0a
i386: Handle P6s without performance counters in nmi watchdog

I got an oops while booting a 32bit kernel on KVM because it doesn't
implement performance counters used by the NMI watchdog. Handle this
case.

Cc: Avi Kivity <avi@qumranet.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