diff options
author | Tejun Heo <tj@kernel.org> | 2018-03-14 16:27:26 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-03-19 17:38:18 +0100 |
commit | 71546d100422bcc2c543dadeb9328728997cd23a (patch) | |
tree | 62553f5406b7937f6849fb7272d2ed032ee606e5 /mm/percpu.c | |
parent | percpu: add a schedule point in pcpu_balance_workfn() (diff) | |
download | linux-71546d100422bcc2c543dadeb9328728997cd23a.tar.xz 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.c | 1 |
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> |