Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information