failsafe mechanism to HPET clock calibration
commitc9c57929d23e44f258d1b6e7f089e72c85f0bd1c
authorRavikiran G Thirumalai <kiran@scalex86.org>
Fri, 13 Apr 2007 23:28:20 +0000 (13 16:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Apr 2007 04:44:03 +0000 (14 21:44 -0700)
tree423990aed32fc6f8e1add83ec2d8976c8e9a81e9
parentff99e40230d5cdf5e48bcdb4938d0626624bc4cb
failsafe mechanism to HPET clock calibration

Provide a failsafe mechanism to avoid kernel spinning forever at
read_hpet_tsc during early kernel bootup.

This failsafe mechanism was originally introduced in commit
2f7a2a79c3ebb44f8b1b7d9b4fd3a650eb69e544, but looks like the hpet split
from time.c lost it again.

This reintroduces the failsafe mechanism

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Cc: Jack Steiner <steiner@sgi.com>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/hpet.c