diff options
author | Dave Johnson <djohnson@sw.starentnetworks.com> | 2007-10-23 20:37:22 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-23 20:37:22 (GMT) |
commit | 8c660065383976f09fbdae86c33448c8da643d4e (patch) | |
tree | 2d5dd9da1abdeb2678693c88a3c05fd80c0a2e0e /fs/ioctl.c | |
parent | edaf420fdc122e7a42326fe39274c8b8c9b19d41 (diff) | |
download | linux-fsl-qoriq-8c660065383976f09fbdae86c33448c8da643d4e.tar.xz |
x86: fix more TSC clock source calibration errors
The previous patch wasn't correctly handling the 'count' variable. If
a CPU gave bad results on the 1st or 2nd run but good results on the
3rd, it wouldn't do the correct thing. No idea if any such CPU
exists, but the patch below handles that case by discarding the bad
runs.
If a bad result (too quick, or too slow) occurs on any of the 3 runs
it will be discarded.
Also updated some comments to explain what's going on.
Signed-off-by: Dave Johnson <djohnson@sw.starentnetworks.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions