linux-next: build failure after merge of the akpm tree
Hi Andrew,
After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
kernel/time/clocksource.c: In function 'clocksource_watchdog':kernel/time/clocksource.c:220:3: error: implicit declaration of function 'abs64' [-Werror=implicit-function-declaration]
if (abs64(cs_nsec - wd_nsec) > WATCHDOG_THRESHOLD) {
^
Caused by commit
67dfae0cd72f ("clocksource: Fix abs() usage w/ 64bit values")
Quoted 1 line
From Linus' tree interacting with commit
e75a4c084376 ("Remove abs64()")
from the akpm tree.
I have applied the following fix patch:
From: Stephen Rothwell <[email protected]>
Date: Tue, 6 Oct 2015 17:59:03 +1100
Subject: [PATCH] clocksource: Fix for "Remove abs64()"
Signed-off-by Stephen Rothwell <[email protected]>
--- kernel/time/clocksource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/clocksource.c +1 -1
@@ -217,7 +217,7 @@ static void clocksource_watchdog(unsigned long data)continue ;/* Check the deviation from the watchdog clocksource. */ -if (abs64 (cs_nsec - wd_nsec) >WATCHDOG_THRESHOLD ) { +if (abs (cs_nsec - wd_nsec) >WATCHDOG_THRESHOLD ) {pr_warn ("timekeeping watchdog: Marking clocksource '%s' as unstable because the skew is too large:\n" , cs->name); pr_warn(" '%s' wd_now: %llx wd_last: %llx mask: %llx\n",
Signature · 5 lines
2.5.1 -- Cheers, Stephen Rothwell [email protected]