From: Tejun Heo Date: Wed, 14 Mar 2018 15:27:26 +0000 (-0700) Subject: percpu: include linux/sched.h for cond_resched() X-Git-Tag: v4.16-rc7~32^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71546d100422bcc2c543dadeb9328728997cd23a;p=thirdparty%2Fkernel%2Flinux.git 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 Reported-by: kbuild test robot --- diff --git a/mm/percpu.c b/mm/percpu.c index 36e7b65ba6cf3..15a398c007914 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -80,6 +80,7 @@ #include #include #include +#include #include #include