linux-next: build failure after merge of the percpu tree
Subsystems (3)
Hi all,
After merging the percpu tree, today's linux-next build (sparc defconfig) failed like this:
mm/percpu.c: In function 'pcpu_balance_workfn':mm/percpu.c:1613:3: error: implicit declaration of function 'cond_resched'; did you mean 'should_resched'? [-Werror=implicit-function-declaration]
cond_resched();
^~~~~~~~~~~~
should_resched
Caused by commit
accd4f36a7d1 ("percpu: add a schedule point in pcpu_balance_workfn()")
I have added this patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 26 Feb 2018 14:47:39 +1100
Subject: [PATCH] percpu: include sched.h for cond_resched()
Fixes accd4f36a7d1 ("percpu: add a schedule point in pcpu_balance_workfn()")
Signed-off-by Stephen Rothwell <[email protected]>
--- mm/percpu.c | 1 + 1 file changed, 1 insertion(+)
mm/percpu.c +1 -0
@@ -80,6 +80,7 @@#include <linux/vmalloc.h> #include <linux/workqueue.h> #include <linux/kmemleak.h> +#include <linux/sched.h> #include <asm/cacheflush.h> #include <asm/sections.h>
Signature · 5 lines
2.16.1 -- Cheers, Stephen Rothwell