--- a/mm/percpu.c
+++ b/mm/percpu.c
-@@ -1143,6 +1143,7 @@ static void pcpu_balance_workfn(struct w
+@@ -1144,6 +1144,7 @@ static void pcpu_balance_workfn(struct w
spin_unlock_irq(&pcpu_lock);
}
pcpu_destroy_chunk(chunk);
--- /dev/null
+From 71546d100422bcc2c543dadeb9328728997cd23a Mon Sep 17 00:00:00 2001
+From: Tejun Heo <tj@kernel.org>
+Date: Wed, 14 Mar 2018 08:27:26 -0700
+Subject: percpu: include linux/sched.h for cond_resched()
+
+From: Tejun Heo <tj@kernel.org>
+
+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 <tj@kernel.org>
+Reported-by: kbuild test robot <fengguang.wu@intel.com>
+Cc: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ mm/percpu.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/mm/percpu.c
++++ b/mm/percpu.c
+@@ -70,6 +70,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>
mac80211-drop-frames-with-unexpected-ds-bits-from-fast-rx-to-slow-path.patch
arm64-fix-unwind_frame-for-filtered-out-fn-for-function-graph-tracing.patch
macvlan-fix-use-after-free-in-macvlan_common_newlink.patch
+percpu-include-linux-sched.h-for-cond_resched.patch
percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch
kvm-fix-warning-for-config_have_kvm_eventfd-builds.patch
fs-dcache-avoid-livelock-between-d_alloc_parallel-and-__d_add.patch