percpu: include linux/sched.h for cond_resched()
authorTejun Heo <tj@kernel.org>
Wed, 14 Mar 2018 15:27:26 +0000 (08:27 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 19 Mar 2018 16:38:18 +0000 (09:38 -0700)
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>
mm/percpu.c

index 36e7b65..15a398c 100644 (file)
@@ -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>