]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 12:00:04 +0000 (05:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 12:00:04 +0000 (05:00 -0700)
added patches:
percpu-include-linux-sched.h-for-cond_resched.patch

queue-4.14/percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch
queue-4.14/percpu-include-linux-sched.h-for-cond_resched.patch [new file with mode: 0644]
queue-4.14/series

index 390e4899774d9cc33d9b933b0bab87ec26ae6158..92c3fb1f6186f65c91178b4b8b1d7da1d6b26de0 100644 (file)
@@ -27,7 +27,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/mm/percpu.c
 +++ b/mm/percpu.c
-@@ -1611,6 +1611,7 @@ static void pcpu_balance_workfn(struct w
+@@ -1612,6 +1612,7 @@ static void pcpu_balance_workfn(struct w
                        spin_unlock_irq(&pcpu_lock);
                }
                pcpu_destroy_chunk(chunk);
diff --git a/queue-4.14/percpu-include-linux-sched.h-for-cond_resched.patch b/queue-4.14/percpu-include-linux-sched.h-for-cond_resched.patch
new file mode 100644 (file)
index 0000000..1b40665
--- /dev/null
@@ -0,0 +1,32 @@
+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
+@@ -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>
index 013cf9978b994cbc543f5171299d7664f1941bcc..d356b9239f334e01e2eca9c698b64bda3e65810f 100644 (file)
@@ -100,6 +100,7 @@ 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
 media-don-t-let-tvp5150_get_vbi-go-out-of-vbi_ram_default-array.patch
+percpu-include-linux-sched.h-for-cond_resched.patch
 percpu-add-a-schedule-point-in-pcpu_balance_workfn.patch
 kvm-nvmx-don-t-halt-vcpu-when-l1-is-injecting-events-to-l2.patch
 kvm-fix-warning-for-config_have_kvm_eventfd-builds.patch