[PATCH] fix cpu frequency detection in arch/i386/kernel/timers/timer_tsc.c::recalibra...
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 6 Jan 2006 08:12:17 +0000 (00:12 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:39 +0000 (08:33 -0800)
commitbcf0f0d233fc76e7c59c7f731caad555428d0e8d
tree34b39caa375380b86eba4ddf1ab2d5928b631f13
parent3841b0a173cb6fc52163e67c03280543f2412db3
[PATCH] fix cpu frequency detection in arch/i386/kernel/timers/timer_tsc.c::recalibrate_cpu_khz()

When we re-calibrate the frequency, it is likely that an interrupt (as for
example the main system clock) will be triggered by the system.  Therefore
the calibration may not be accurate.  This will also provide a fix to bug
#5266.

Many thanks to Larry Finger for helping resolving this issue.

Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/timers/timer_tsc.c