summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-07 01:55:40 +0400
committerIngo Molnar <mingo@elte.hu>2008-09-07 01:55:40 +0400
commit5df45515512436a808d3476a90e83f2efb022422 (patch)
tree973840764e2c13d9c83f3204a8cd97c432faa288
parent4156e9a8ef5b521185f451213d33fa661f38512e (diff)
downloadlinux-5df45515512436a808d3476a90e83f2efb022422.tar.xz
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 6dab90f68515..4847a9280505 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;
/*