From: Greg Kroah-Hartman Date: Thu, 3 May 2018 12:03:07 +0000 (-0700) Subject: 4.9-stable patches X-Git-Tag: v4.9.99~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09d47815e789b0269586cfe1d7957a73b7e71891;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: percpu-include-linux-sched.h-for-cond_resched.patch --- diff --git a/queue-4.9/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch b/queue-4.9/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch index 7fd57c9b2d2..04dddfb1f28 100644 --- a/queue-4.9/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch +++ b/queue-4.9/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 -@@ -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); diff --git a/queue-4.9/percpu-include-linux-sched.h-for-cond_resched.patch b/queue-4.9/percpu-include-linux-sched.h-for-cond_resched.patch new file mode 100644 index 00000000000..a2fc9ec9ec5 --- /dev/null +++ b/queue-4.9/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 +@@ -70,6 +70,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/queue-4.9/series b/queue-4.9/series index 597b1caf061..3a32f8d717a 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -134,6 +134,7 @@ media-dmxdev-fix-error-code-for-invalid-ioctls.patch 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