linux-next: build failure after merge of the tip tree
Subsystems (3)
Hi all,
After merging the tip tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
net/core/dev.c: In function 'sk_busy_loop':net/core/dev.c:5065:3: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]
cpu_relax_lowlatency();
^
Caused by commit
5bd0b85ba8bb ("locking/core, arch: Remove cpu_relax_lowlatency()")
interacting with commit
217f69743681 ("net: busy-poll: allow preemption in sk_busy_loop()")
from the net-next tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Thu, 17 Nov 2016 14:13:05 +1100
Subject: [PATCH] net: busy-poll: fix up for cpu_relax_lowlatency() removal
Signed-off-by Stephen Rothwell <[email protected]>
--- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev.c +1 -1
@@ -5062,7 +5062,7 @@ bool sk_busy_loop(struct sock *sk, int nonblock)return rc; goto restart; } -cpu_relax_lowlatency (); +cpu_relax (); }if (napi_poll)busy_poll_stop (napi, have_poll_lock);
Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell