From: Ingo Molnar Date: Sat, 6 Sep 2008 21:55:40 +0000 (+0200) Subject: x86, tsc calibration: fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5df45515512436a808d3476a90e83f2efb022422;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git x86, tsc calibration: fix my brown paperbag day ... Signed-off-by: Ingo Molnar --- 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; /*