From: Tejun Heo Date: Wed, 14 Mar 2018 15:27:26 +0000 (-0700) Subject: percpu: include linux/sched.h for cond_resched() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9caf1e1d5d4a74956a358800af20cb5d8cd2eae;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reported-by: kbuild test robot Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- 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 #include #include +#include #include #include