]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix faulty HPET clocksource usage (fix for bug #7062)
authorjohn stultz <johnstul@us.ibm.com>
Fri, 1 Sep 2006 04:27:37 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 1 Sep 2006 18:39:08 +0000 (11:39 -0700)
commit4b4dfb0718fd9b9442dbc2ac567343a831fadfad
tree3b29c5f68c06604522db63b70c374fe1c31eafb1
parentd95fe4b870dc84a25a7b47fe5674ca13692b5f32
[PATCH] Fix faulty HPET clocksource usage (fix for bug #7062)

Apparently some systems export valid HPET addresses, but hpet_enable()
fails.  Then when the HPET clocksource starts up, it only checks for a
valid HPET address, and the result is a system where time does not advance.

See http://bugme.osdl.org/show_bug.cgi?id=7062 for details.

This patch just makes sure we better check that the HPET is functional
before registering the HPET clocksource.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/hpet.c