diff options
-rw-r--r-- | arch/i386/kernel/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index f3ab61ee7498..76afea67f691 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c | |||
@@ -197,7 +197,7 @@ static int hpet_next_event(unsigned long delta, | |||
197 | cnt += delta; | 197 | cnt += delta; |
198 | hpet_writel(cnt, HPET_T0_CMP); | 198 | hpet_writel(cnt, HPET_T0_CMP); |
199 | 199 | ||
200 | return ((long)(hpet_readl(HPET_COUNTER) - cnt ) > 0); | 200 | return ((long)(hpet_readl(HPET_COUNTER) - cnt ) > 0) ? -ETIME : 0; |
201 | } | 201 | } |
202 | 202 | ||
203 | /* | 203 | /* |