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

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

index 45cbe3babc51cb6bd7e6a9fb2d54df7d65a32ab9..a334a015c8ddaab5b29a4a09a5fc8f05a2472275 100644 (file)
@@ -27,7 +27,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- 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 (file)
index 0000000..e83ead1
--- /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
+@@ -68,6 +68,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 d2945243aae59172f6d80e66297972bc47b101af..e61860a44539eb12d300512e40aaa5c4f98fa28c 100644 (file)
@@ -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