percpu: include linux/sched.h for cond_resched()
authorTejun Heo <tj@kernel.org>
Wed, 14 Mar 2018 15:27:26 +0000 (08:27 -0700)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:39 +0000 (21:36 -0400)
[ 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>
mm/percpu.c

index a40d5e04a3d183a1143d3b91349baf5ce34d31a7..1b95b9fdd61651650d1929aad9b7e004b0dd15d5 100644 (file)
@@ -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>