Message ID | 1460976397-5688-70-git-send-email-lizf@kernel.org |
---|---|
State | New |
Headers | show |
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index c958338..b3f5407 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -291,7 +291,7 @@ static void clocksource_watchdog(unsigned long data) continue; /* Check the deviation from the watchdog clocksource. */ - if ((abs(cs_nsec - wd_nsec) > WATCHDOG_THRESHOLD)) { + if ((abs64(cs_nsec - wd_nsec) > WATCHDOG_THRESHOLD)) { clocksource_unstable(cs, cs_nsec - wd_nsec); continue; }