summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tsc.c
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 /arch/x86/kernel/tsc.c
parent4156e9a8ef5b521185f451213d33fa661f38512e (diff)
downloadblackbird-op-linux-5df45515512436a808d3476a90e83f2efb022422.tar.gz
blackbird-op-linux-5df45515512436a808d3476a90e83f2efb022422.zip
x86, tsc calibration: fix
my brown paperbag day ... Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-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;
/*
OpenPOWER on IntegriCloud