From d1b94fef8b7a2dde814ec7e01fe8b6756585484e Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 3 May 2018 05:01:25 -0700 Subject: [PATCH] 4.4-stable patches added patches: percpu-include-linux-sched.h-for-cond_resched.patch --- ...chedule-point-in-pcpu_balance_workfn.patch | 2 +- ...clude-linux-sched.h-for-cond_resched.patch | 32 +++++++++++++++++++ queue-4.4/series | 1 + 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 queue-4.4/percpu-include-linux-sched.h-for-cond_resched.patch diff --git a/queue-4.4/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch b/queue-4.4/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch index 45cbe3babc5..a334a015c8d 100644 --- a/queue-4.4/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch +++ b/queue-4.4/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch @@ -27,7 +27,7 @@ Signed-off-by: Greg Kroah-Hartman --- a/mm/percpu.c +++ b/mm/percpu.c -@@ -1145,6 +1145,7 @@ static void pcpu_balance_workfn(struct w +@@ -1146,6 +1146,7 @@ static void pcpu_balance_workfn(struct w spin_unlock_irq(&pcpu_lock); } pcpu_destroy_chunk(chunk); diff --git a/queue-4.4/percpu-include-linux-sched.h-for-cond_resched.patch b/queue-4.4/percpu-include-linux-sched.h-for-cond_resched.patch new file mode 100644 index 00000000000..e83ead17dd1 --- /dev/null +++ b/queue-4.4/percpu-include-linux-sched.h-for-cond_resched.patch @@ -0,0 +1,32 @@ +From 71546d100422bcc2c543dadeb9328728997cd23a Mon Sep 17 00:00:00 2001 +From: Tejun Heo +Date: Wed, 14 Mar 2018 08:27:26 -0700 +Subject: percpu: include linux/sched.h for cond_resched() + +From: Tejun Heo + +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 +Reported-by: kbuild test robot +Cc: Guenter Roeck +Signed-off-by: Greg Kroah-Hartman + +--- + mm/percpu.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/mm/percpu.c ++++ b/mm/percpu.c +@@ -68,6 +68,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/queue-4.4/series b/queue-4.4/series index d2945243aae..e61860a4453 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -90,6 +90,7 @@ regulatory-add-nul-to-request-alpha2.patch locking-xchg-alpha-fix-xchg-and-cmpxchg-memory-ordering-bugs.patch x86-topology-update-the-cpu-cores-field-in-proc-cpuinfo-correctly-across-cpu-hotplug-operations.patch media-dmxdev-fix-error-code-for-invalid-ioctls.patch +percpu-include-linux-sched.h-for-cond_resched.patch percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch md-raid1-fix-null-pointer-dereference.patch batman-adv-fix-packet-checksum-in-receive-path.patch -- 2.47.3