]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 6dab90f68515a573e710415c038b7b8c32daf9a5..4847a9280505bae622c03a074d46decb3023d591 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;
 
                /*