Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231486
b: refs/heads/master
c: 62627be
h: refs/heads/master
v: v3
  • Loading branch information
John Stultz authored and Thomas Gleixner committed Jan 14, 2011
1 parent d68035d commit 189cafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9378b63ccb32b9c071dab155c96357ad1e52a709
refs/heads/master: 62627bec8a601c5679bf3d20a2096a1206d61b71
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/tsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ unsigned long native_calibrate_tsc(void)
tsc_pit_min = min(tsc_pit_min, tsc_pit_khz);

/* hpet or pmtimer available ? */
if (!hpet && !ref1 && !ref2)
if (ref1 == ref2)
continue;

/* Check, whether the sampling was disturbed by an SMI */
Expand Down Expand Up @@ -935,7 +935,7 @@ static void tsc_refine_calibration_work(struct work_struct *work)
tsc_stop = tsc_read_refs(&ref_stop, hpet);

/* hpet or pmtimer available ? */
if (!hpet && !ref_start && !ref_stop)
if (ref_start == ref_stop)
goto out;

/* Check, whether the sampling was disturbed by an SMI */
Expand Down

0 comments on commit 189cafa

Please sign in to comment.