Jelajahi Sumber

x86, tsc calibration: fix

my brown paperbag day ...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 tahun lalu
induk
melakukan
5df4551551
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      arch/x86/kernel/tsc.c

+ 1 - 1
arch/x86/kernel/tsc.c

@@ -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;
 
 		/*