diff options
| author | Yasunori Goto <[email protected]> | 2009-04-02 16:58:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-02 19:05:01 -0700 |
| commit | 303d379c54fc9ed553562e36c1cbd1791a3f5d17 (patch) | |
| tree | fa16886ba42f97af18eed3f2b791f54ce7ee2b09 /tools/perf/scripts/python | |
| parent | 1f80769ffd36e74357fe896dc43dddf1af1510f3 (diff) | |
hpet: fix the possibility of insane return value of hpet_calibrate() against SMI
hpet_calibrate() has a possibility of miss-calibration due to SMI. If SMI
interrupts in the while loop of calibration, then return value will be
big. This change calibrates until stabilizing by the return value with a
small value.
[[email protected]: trivial style tweaks]
Signed-off-by: Yasunori Goto <[email protected]>
Acked-by: Clemens Ladisch <[email protected]>
Acked-by: Vojtech Pavlik <[email protected]>
Cc: Robert Picco <[email protected]>
Cc: Venkatesh Pallipadi <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions