i386: HPET, check if the counter works
authorThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jul 2007 15:11:12 +0000 (17:11 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:12 +0000 (18:37 -0700)
commit075bcd1f9726b8a1caff86eda06f29f71fb21235
tree992a8717dbe7b17fa80cd10f47c3dc639f395aa2
parentdf2edcf3b6ba54d9ffa620e322583cd994a6e54a
i386: HPET, check if the counter works

Some systems have a HPET which is not incrementing, which leads to a
complete hang.  Detect it during HPET setup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/hpet.c