From d5562cb7bdd6edb7745651b7f4370d3a6859db02 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 3 May 2018 08:29:35 -0700 Subject: [PATCH] 3.18-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-3.18/series | 1 + 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 queue-3.18/percpu-include-linux-sched.h-for-cond_resched.patch diff --git a/queue-3.18/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch b/queue-3.18/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch index 74245827df5..a82b5af4663 100644 --- a/queue-3.18/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch +++ b/queue-3.18/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-3.18/percpu-include-linux-sched.h-for-cond_resched.patch b/queue-3.18/percpu-include-linux-sched.h-for-cond_resched.patch new file mode 100644 index 00000000000..e83ead17dd1 --- /dev/null +++ b/queue-3.18/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-3.18/series b/queue-3.18/series index e9234df5816..0e41cafa80b 100644 --- a/queue-3.18/series +++ b/queue-3.18/series @@ -63,6 +63,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