summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-06 23:55:40 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-06 23:55:40 +0200
commit5df45515512436a808d3476a90e83f2efb022422 (patch)
tree973840764e2c13d9c83f3204a8cd97c432faa288
parent4156e9a8ef5b521185f451213d33fa661f38512e (diff)
downloadkernel-crypto-5df45515512436a808d3476a90e83f2efb022422.tar.gz
kernel-crypto-5df45515512436a808d3476a90e83f2efb022422.tar.xz
kernel-crypto-5df45515512436a808d3476a90e83f2efb022422.zip
x86, tsc calibration: fix
my brown paperbag day ... Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 6dab90f6851..4847a928050 100644
--- a/arch/x86/kernel/tsc.c
+++ b/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;
/*