summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2018-03-14 08:27:26 -0700
committerTejun Heo <tj@kernel.org>2018-03-19 09:38:18 -0700
commit71546d100422bcc2c543dadeb9328728997cd23a (patch)
tree62553f5406b7937f6849fb7272d2ed032ee606e5 /mm
parentaccd4f36a7d11c2d54544007eb65e10604dcf2f5 (diff)
downloadlinux-71546d100422bcc2c543dadeb9328728997cd23a.tar.bz2
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 <tj@kernel.org> Reported-by: kbuild test robot <fengguang.wu@intel.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/percpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 36e7b65ba6cf..15a398c00791 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>