x86, tsc calibration: fix
authorIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 21:55:40 +0000 (23:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 21:55:40 +0000 (23:55 +0200)
my brown paperbag day ...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/tsc.c

index 6dab90f..4847a92 100644 (file)
@@ -319,7 +319,7 @@ static unsigned long quick_pit_calibrate(void)
                /*
                 * Make sure we can rely on the second TSC timestamp:
                 */
-               if (!pit_expect_msb(--expect))
+               if (!pit_expect_msb(expect))
                        goto failed;
 
                /*