diff options
author | Tejun Heo <tj@kernel.org> | 2018-03-14 08:27:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-09 09:51:48 +0200 |
commit | e9caf1e1d5d4a74956a358800af20cb5d8cd2eae (patch) | |
tree | 0c58d5d9ffc64262b8d366b08a3a9b5882141f19 /mm | |
parent | 6a3c946b205fd5bc3be583a1f3adbda11128e7ed (diff) | |
download | linux-exynos-e9caf1e1d5d4a74956a358800af20cb5d8cd2eae.tar.gz linux-exynos-e9caf1e1d5d4a74956a358800af20cb5d8cd2eae.tar.bz2 linux-exynos-e9caf1e1d5d4a74956a358800af20cb5d8cd2eae.zip |
percpu: include linux/sched.h for cond_resched()
commit 71546d100422bcc2c543dadeb9328728997cd23a upstream.
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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
-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 c80e796bf35c..5fa5e79b69f0 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> |