aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2018-03-14 08:27:26 -0700
committerTejun Heo <tj@kernel.org>2018-03-19 09:38:18 -0700
commit71546d100422bcc2c543dadeb9328728997cd23a (patch)
tree62553f5406b7937f6849fb7272d2ed032ee606e5 /mm/percpu.c
parentpercpu: add a schedule point in pcpu_balance_workfn() (diff)
downloadwireguard-linux-71546d100422bcc2c543dadeb9328728997cd23a.tar.xz
wireguard-linux-71546d100422bcc2c543dadeb9328728997cd23a.zip
percpu: include linux/sched.h for cond_resched()
microblaze build broke due to missing declaration of the cond_resched() invocation added recently. Let's include linux/sched.h explicitly. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: kbuild test robot <fengguang.wu@intel.com>
Diffstat (limited to 'mm/percpu.c')
-rw-r--r--mm/percpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 36e7b65ba6cf..15a398c00791 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -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>