diff options
author | Tejun Heo <tj@kernel.org> | 2018-03-14 08:27:26 -0700 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-05-22 21:36:39 -0400 |
commit | 0dbe56d6ae778cae9be71f9ee0b6caf5aeb406e3 (patch) | |
tree | f3a3ffc76bb0cf126ac27dff22725acccefb05eb | |
parent | 063c80eedbe1b4ed978d2de2101706e006b23132 (diff) | |
download | linux-stable-0dbe56d6ae778cae9be71f9ee0b6caf5aeb406e3.tar.gz |
percpu: include linux/sched.h for cond_resched()
[ Upstream commit 71546d100422bcc2c543dadeb9328728997cd23a ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
-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 a40d5e04a3d1..1b95b9fdd616 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -68,6 +68,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> |