git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clocksource: Fix abs() usage w/ 64bit values
[pandora-kernel.git]
/
kernel
/
time
/
clocksource.c
diff --git
a/kernel/time/clocksource.c
b/kernel/time/clocksource.c
index
d3ad022
..
fee10b5
100644
(file)
--- 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;
}