sched/headers: Prepare to move kstack_end() from <linux/sched.h> to <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 13:31:22 +0000 (14:31 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:39 +0000 (08:42 +0100)
But first update the usage sites with the new header dependency.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/m32r/kernel/traps.c
arch/metag/kernel/stacktrace.c
arch/openrisc/kernel/traps.c
arch/um/kernel/sysrq.c
arch/xtensa/kernel/traps.c
mm/slab.c

index 7c05bb3935978c6886c6e2eecd851a70fc12913f..832bb2bb29bd383b8a00846f6eb79036a8cc399e 100644 (file)
@@ -15,7 +15,9 @@
 #include <linux/stddef.h>
 #include <linux/ptrace.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task_stack.h>
 #include <linux/mm.h>
+
 #include <asm/page.h>
 #include <asm/processor.h>
 
index 4f806d66a58c6bd041ab2e5306ef903e455265c1..91ffc4b75c332b50f41ced4e84d1814e91cd1f1c 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task_stack.h>
 #include <linux/stacktrace.h>
 
 #include <asm/stacktrace.h>
index 2354ab88d9484e29e0505eeab69e7ed2392048d2..803e9e756f7785a9250c95ccd93f4cacc18f70d2 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task_stack.h>
 #include <linux/kernel.h>
 #include <linux/extable.h>
 #include <linux/kmod.h>
index 34ae555c3e700a8022df1910b6a1cbf7fdab84d0..a76295f7ede9cd58beba128a21b05e685a3b0c02 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task_stack.h>
 
 #include <asm/sysrq.h>
 #include <asm/stacktrace.h>
index d8bb2e62393e54cc3162b48856b6c5303cb08a64..c82c43bff2968cd3bab83688bc8a362671792150 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task_stack.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/stringify.h>
index bd63450a9b167f0e888fa1c41bd549d14c540742..807d86c769088681b47f41c0cc0a721307bd16c1 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
 #include       <linux/kmemcheck.h>
 #include       <linux/memory.h>
 #include       <linux/prefetch.h>
+#include       <linux/sched/task_stack.h>
 
 #include       <net/sock.h>