sched/headers: Prepare for new header dependencies before moving code to <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:36 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:35 +0000 (08:42 +0100)
We are going to split <linux/sched/task.h> out of <linux/sched.h>, which
will have to be picked up from other headers and a couple of .c files.

Create a trivial placeholder <linux/sched/task.h> file that just
maps to <linux/sched.h> to make this patch obviously correct and
bisectable.

Include the new header in the files that are going to need it.

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>
95 files changed:
arch/alpha/kernel/process.c
arch/arc/kernel/process.c
arch/arm/kernel/process.c
arch/arm/mm/init.c
arch/arm64/kernel/process.c
arch/avr32/kernel/process.c
arch/blackfin/kernel/process.c
arch/blackfin/kernel/trace.c
arch/c6x/kernel/process.c
arch/cris/arch-v10/kernel/process.c
arch/cris/arch-v32/kernel/process.c
arch/cris/kernel/process.c
arch/frv/kernel/process.c
arch/frv/mm/mmu-context.c
arch/h8300/kernel/process.c
arch/hexagon/kernel/process.c
arch/ia64/kernel/mca.c
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/process.c
arch/ia64/kernel/ptrace.c
arch/m32r/kernel/process.c
arch/m32r/kernel/smpboot.c
arch/m68k/kernel/process.c
arch/metag/kernel/process.c
arch/metag/kernel/traps.c
arch/microblaze/kernel/process.c
arch/mips/kernel/mips-mt-fpaff.c
arch/mips/kernel/process.c
arch/mn10300/kernel/process.c
arch/mn10300/kernel/smp.c
arch/nios2/kernel/process.c
arch/openrisc/kernel/process.c
arch/parisc/kernel/process.c
arch/powerpc/kernel/process.c
arch/s390/kernel/process.c
arch/s390/kernel/setup.c
arch/score/kernel/process.c
arch/sh/kernel/cpu/fpu.c
arch/sh/kernel/process_32.c
arch/sh/kernel/process_64.c
arch/sh/mm/asids-debugfs.c
arch/sparc/kernel/process_32.c
arch/sparc/kernel/process_64.c
arch/tile/kernel/process.c
arch/tile/kernel/smpboot.c
arch/tile/kernel/unaligned.c
arch/tile/mm/fault.c
arch/um/kernel/exec.c
arch/um/kernel/process.c
arch/um/kernel/reboot.c
arch/unicore32/kernel/process.c
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c
arch/x86/kernel/fpu/init.c
arch/x86/kernel/process.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/unwind_frame.c
arch/xtensa/kernel/process.c
drivers/misc/kgdbts.c
drivers/tty/sysrq.c
drivers/tty/tty_io.c
fs/exec.c
fs/fcntl.c
fs/fs_struct.c
fs/proc/array.c
fs/proc/kcore.c
include/linux/sched/task.h [new file with mode: 0644]
init/main.c
kernel/cgroup/cgroup.c
kernel/cpu.c
kernel/exit.c
kernel/fork.c
kernel/kmod.c
kernel/kthread.c
kernel/locking/lockdep.c
kernel/pid.c
kernel/pid_namespace.c
kernel/power/process.c
kernel/ptrace.c
kernel/sched/sched.h
kernel/signal.c
kernel/smpboot.c
kernel/sys.c
kernel/trace/ftrace.c
kernel/tracepoint.c
lib/dma-debug.c
mm/kmemleak.c
mm/memory-failure.c
mm/memory.c
mm/oom_kill.c
mm/rmap.c
mm/swapfile.c
mm/usercopy.c
security/keys/keyctl.c
security/selinux/hooks.c

index 88f7a974d311eda6570cc4f1e38b5d5f0773916a..713b4fac998e706ca31726014412265ff7c0b0e3 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index a41a79a4f4feaca96306577077bd4745d6cd8537..d618d26721ab9a194744e030c1ec9dbdaf71b88e 100644 (file)
@@ -11,6 +11,8 @@
 #include <linux/errno.h>
 #include <linux/module.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
+
 #include <linux/mm.h>
 #include <linux/fs.h>
 #include <linux/unistd.h>
index 03d46395d1ff95181fdb4e01bc6531b6a6879934..d4c7c9a1afa9aa013799aed33222fb949566f904 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
index 2a9040dcf47e284a59624348cefbc8d44720daf8..1d8558ff9827ff174201883ea02c2f905d7aed4c 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/bootmem.h>
 #include <linux/mman.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/export.h>
 #include <linux/nodemask.h>
 #include <linux/initrd.h>
index 40a16cdd98736dcf2f7e009817bf3debea0c7404..f9b8e74ff8f21266cb889c50b5537fc11c649941 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
index dac022d88d9d866d9221ef6079db4a0feab93e39..75b944a5107c8e8fcd892d68e6db4860a24a7ba2 100644 (file)
@@ -7,6 +7,7 @@
  */
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/module.h>
 #include <linux/kallsyms.h>
 #include <linux/fs.h>
index e95d094c20a6483ebb632a6366280dbe918e3426..1a1f444004b1b02afb2d6be48e6fc9893267d879 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/tick.h>
 #include <linux/fs.h>
 #include <linux/err.h>
index 23c05b8effb333a9b8079d68f8e9772357292491..151f22196ab6f0fa89b95a4fcae01fa3f3bb4947 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/oom.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/uaccess.h>
 #include <linux/module.h>
 #include <linux/kallsyms.h>
index 0ee7686a78f375af8b4f525643e4fea298b8998c..6b61779d426a06e5541a650cb348d92f54e52ca0 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/mqueue.h>
 #include <linux/syscalls.h>
 #include <linux/reboot.h>
+#include <linux/sched/task.h>
 
 #include <asm/syscalls.h>
 
index 068a403742004b120a38921df8bc4446d812039d..808c2186b70446e84b5f793430bdb247d26f32f5 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/err.h>
 #include <linux/fs.h>
index 613c2d71bf10f98c52922308ad6a0dd435737b10..c852df262948241335cbe7990788cd381737a183 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/err.h>
 #include <linux/fs.h>
index 50a7dd451456cc808e80fddbba845f97fb09e6b9..0bbd3a0c3d7087d6f7fe7fb9b66fea5a0f9f0c9a 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/spinlock.h>
 #include <linux/init_task.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/user.h>
 #include <linux/elfcore.h>
index cf4c34c09ab3328cd1e46326b1c630430dbb7d9e..c96dbd4b86260b265593da3bc79a61d21dbfbb7d 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index 4031289bf2ecc596fbdd998833819b77784506d3..16946a58f64db92a71e2644c44ca12fe6ebeb68b 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/mm.h>
 #include <asm/tlbflush.h>
 
index d7cabf373fe3d66b90b76bfd0651e2d98520d133..54e4d6f01865c65bce56d754bb65b50c745629ca 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index 3bdd9592d025f8d059686181aadd1d74c18b865d..a2a822a875b6d8c4186699f7fbf772b938d4c970 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/tick.h>
index f9fe3ac64242a1b82a8963b215c17db9a1bb4a47..79c7c46d7dc175eaef91528c50cc70d16c750b6a 100644 (file)
@@ -74,6 +74,7 @@
 #include <linux/init.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/bootmem.h>
index 677a86826771a4451b6fb595b8013899cf1b29cf..7e943d3c05ed79deb1effdc1deb40b416b9eaf98 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/interrupt.h>
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
index 2204ae450d6586c76e45ac5057c30e1038d5c59b..054facf22156fb7156f81774c318c630fd0a0e13 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/hotplug.h>
+#include <linux/sched/task.h>
 #include <linux/stddef.h>
 #include <linux/thread_info.h>
 #include <linux/unistd.h>
index 0b1153e610ea3ce11b87c9096949c0130a7b4d98..04fe1436e1cccbf391467955b3455bd358eb07a4 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/mm.h>
 #include <linux/errno.h>
 #include <linux/ptrace.h>
index 1a227c1fdb1a4f40b03c0d23b777229fb36503a6..2a450382934c90e2d5b1161e82db120a14187bfc 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/fs.h>
 #include <linux/slab.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/module.h>
 #include <linux/ptrace.h>
 #include <linux/unistd.h>
index f98d2f6519d633c85f3979e103f5bf5c3438cd28..a7d04684d2c7709d1fac04fe717441bb5b161a9d 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/err.h>
 #include <linux/irq.h>
 #include <linux/bootmem.h>
index b4a4675f41190be219d63f1183ed5c6f2b394048..5d335d178706ae53966fbb01e3a039061820471a 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
index 2e611bd3751585f36dd8afe70a63d0f6d88af1d9..801e6f927e62abe5dbb2167570ab23ef5339a198 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/unistd.h>
index 5ce67f9124aa5ddfcac2740f6b67af83fe0882b1..23c5ac33a93fd09a2863739b8ea89f266f4e0f2e 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/signal.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index 8c5fdb2e28502765c6591168dad8b1574066a923..a642fe5ac5ffc5556772ed39e6df3d87b9ebdb9a 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/pm.h>
 #include <linux/tick.h>
 #include <linux/bitops.h>
index ffc6bd3464d970f60e3738bd7ff3bd023e546d24..8cab633e0e5adec9da5ff8d99efd019858affced 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/cred.h>
 #include <linux/security.h>
 #include <linux/types.h>
index 97574cdb532d535184fbe7db5904f03251250799..8bfb833b31588f53867cd00fcff5fa3bb45e0086 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/tick.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index a1e2f8301d947594245684915f80a380cdc235cf..8ca7a9de09a55d0158f617685c9baff74f792daa 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index e65b5cc2fa67f1ace278fc2b418636568708af43..d924f7a79708296db78029df60ee1d1bf7fac8d4 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/profile.h>
 #include <linux/smp.h>
 #include <linux/cpu.h>
index 3ad87a6b119b62c7c9dc59f5ea4a2920ef84f9e7..5ee1ddf6a924c30e4c3dbd4a0b99e2512bf82409 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/tick.h>
 #include <linux/uaccess.h>
 
index 899339dac938b1d229a4c12ff7dfb3038314a4cb..0c5ad3bde0f5c5eb68d2da5b17178b6c1266853b 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/mm.h>
index 8c283caf2b4d3e5f5beac4652def0014a52cb245..e5f97239cc5ed639bc898339a07db6c747a08c54 100644 (file)
@@ -44,6 +44,7 @@
 #include <linux/ptrace.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/stddef.h>
 #include <linux/unistd.h>
index 76f58b87dcb224d080f80ad61acb02c86317721d..b99b12656f6fe7eaad921d1d5ce88ce63be8cc5d 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index ed99ff911b676a2112fc4977dcd7e385d541078b..250c41f05721009299fa4bfec4c33d1c8b77fd26 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/cpu.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/elfcore.h>
index e4d811f179715a5210775e03e0cf1d9c4870bd25..3de07004c02e726b184fe9ecfb29390701c00eb8 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/errno.h>
 #include <linux/export.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/memblock.h>
 #include <linux/mm.h>
index aae9480706c2c8b18380ffe8d7fe52cac8195b0f..32924159d8c9ed907d746a68f753511f2f79a24e 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/elfcore.h>
 #include <linux/pm.h>
 #include <linux/rcupdate.h>
+#include <linux/sched/task.h>
 
 void (*pm_power_off)(void);
 EXPORT_SYMBOL(pm_power_off);
index 37e35330aae66109f1db870d0af544d54cda0ee0..b76370a47bf95a17a25826ca8837f99b0c88e001 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <asm/processor.h>
 #include <asm/fpu.h>
index 5098274e0f231bf46549db052b2b08f526c5a16a..493c3eb86aa5026ca89c6ce26d88578988b05054 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/elfcore.h>
 #include <linux/kallsyms.h>
index ced21a417d9d96e30a9c3f5055683d25499945ba..056607185158b033be6239f94e1f268da42cc528 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/module.h>
 #include <linux/io.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <asm/syscalls.h>
 #include <linux/uaccess.h>
 #include <asm/pgtable.h>
index 110bd35165bfd4582fc6f3e2f8c04cc870f9991b..e5539e0f8e3b11b8afffdff5f020732fb150c72d 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 
 #include <asm/processor.h>
 #include <asm/mmu_context.h>
index 237a471c8ed5502c39b87ef5b01b7a58d06dac74..ed87c45a785b2649abc13a1815758e96657b8c41 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
index 98f6ff6eaa55620ebde0e4118028ca664a63550a..4c82a73af893b3243fa823f5889ff320e9c9c95f 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/fs.h>
index 557b4c8435d08de7ffe50e2bb80a9879874313e4..dbb4fa76d1dda67a6632a92427296fc4bc3d61b0 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/preempt.h>
 #include <linux/module.h>
 #include <linux/fs.h>
index 53ce940a50169ab73b3be242156fb1b3923b68ac..f3fdd0c39b1278b266117f9f61bb81d0c2a508d9 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/kernel_stat.h>
 #include <linux/bootmem.h>
 #include <linux/notifier.h>
index 142acae7831674c7a337ee7bba86d6e40dab27ba..8149c38f67b6cc5ea6fa4daafae908e330d5dcf1 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/ptrace.h>
 #include <linux/slab.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/thread_info.h>
 #include <linux/uaccess.h>
 #include <linux/mman.h>
index 005c91c2adcabbb05ccc3d496208f5e1e7464286..f58fa06a2214aa963b76db53b9c1f11c7dcfd42f 100644 (file)
@@ -17,6 +17,8 @@
 #include <linux/signal.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
+#include <linux/sched/task_stack.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/string.h>
index 770ec07b6a6af06385674fad8586b8d5414ff230..2df4e5d11939aec31c11e04b218a64131ef23807 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/fs.h>
 #include <linux/ptrace.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <asm/current.h>
 #include <asm/processor.h>
index c6c45ea4021ff0547353bf5ca889c80abea87205..e76dc7c112519dddba9b3df248e1a033a4d5f2df 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/seq_file.h>
 #include <linux/tick.h>
 #include <linux/threads.h>
index 79218106a03365ad150472f9f7084e0d066732d7..0bc921cee0b18d8c3e03890c7620831329dfba09 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/spinlock.h>
 #include <linux/slab.h>
 #include <linux/oom.h>
index c1a0eec88f1f78cb3e9ee285f7215ef0a003f1f9..d58f1600b47799b8110e0918e939f743a1a52c1c 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
index d48af18e7baf94fa1abce24e7544cc066469fd07..0bbe0f3a039f6412f55863195cbb3a36b84ceb22 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernfs.h>
 #include <linux/seq_file.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/cpu.h>
 #include <linux/task_work.h>
index 19bdd1bf81607cfe06d57bf4d4e0b42b9088d691..c2f8dde3255ca706f613ff662d313ef1f06aa97d 100644 (file)
@@ -7,6 +7,7 @@
 #include <asm/cmdline.h>
 
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/init.h>
 
 /*
index 505be5589e52bd6c65ae4947fd4571e0cb585283..441f00e7be8f485c4312cff48dd9faf0604de937 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/sched.h>
 #include <linux/sched/idle.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/init.h>
 #include <linux/export.h>
 #include <linux/pm.h>
index a0ac3e81518ad8f633c4a3c16e17cabea38950e5..d79ffa47aab84f8a69959cc0d121ccbb6236bf9e 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/cpu.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index a61e141b6891ed4a08437fee3413fedfbc65e429..124f5652ae3cd53556d54e683945832d0bae9212 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/cpu.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index 23d15565d02ad780529091e5004557081bb62844..7c0abdc9a732a045ca842df7fcfea35c08b59d8c 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <asm/ptrace.h>
 #include <asm/bitops.h>
 #include <asm/stacktrace.h>
index afaa3588d869c2612086656e61bf67398b4a762b..af33f9d4c624ac1733df5ceb6fbc9655c447bdb4 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index 99635dd9dbac7b716ec9a889a34e17817bcb7bfb..fc7efedbc4be2513b2137bea45e48407308f0902 100644 (file)
 #include <linux/delay.h>
 #include <linux/kthread.h>
 #include <linux/module.h>
+#include <linux/sched/task.h>
+
 #include <asm/sections.h>
 
 #define v1printk(a...) do { \
index e5f0c7d0fe8de9f3f59d47203e2969cfaf723ccb..c6fc7141d7b2814cc122d430c38d61bbde675358 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/sched/signal.h>
 #include <linux/sched/rt.h>
 #include <linux/sched/debug.h>
-#include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/interrupt.h>
 #include <linux/mm.h>
 #include <linux/fs.h>
index 985d33f0f315760a88a330523157e37da82cf16c..e6d1a6510886c5a807cda3b65d651046afe3a48d 100644 (file)
@@ -70,6 +70,7 @@
 #include <linux/signal.h>
 #include <linux/fcntl.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/interrupt.h>
 #include <linux/tty.h>
 #include <linux/tty_driver.h>
index e857c7260b1f88b71b56a42a7f25821073b0aa41..65145a3df065192345c66ebc311d464fe09a6f29 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -36,6 +36,7 @@
 #include <linux/sched/coredump.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/numa_balancing.h>
+#include <linux/sched/task.h>
 #include <linux/pagemap.h>
 #include <linux/perf_event.h>
 #include <linux/highmem.h>
index e1c54f20325ca870af01d26e21d42dc0c94604a9..be8fbe289087e61222103ec5675bb27857c502e0 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/syscalls.h>
 #include <linux/init.h>
 #include <linux/mm.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/file.h>
 #include <linux/fdtable.h>
index 543ed50f03872cbac50570e5de9578a543053368..be0250788b737c7633ae155b608502daf3b7c4da 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/export.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/path.h>
 #include <linux/slab.h>
index cfe7f934a300aa738634b2238ae632de95735418..f3169b58af381c41b51523159242466fe8044935 100644 (file)
@@ -62,6 +62,7 @@
 #include <linux/mman.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/numa_balancing.h>
+#include <linux/sched/task.h>
 #include <linux/proc_fs.h>
 #include <linux/ioport.h>
 #include <linux/uaccess.h>
index ea9f3d1ae83063289989539ede4a8c8ab8151485..4ee55274f155fce61b05ca704880db627103cdae 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/list.h>
 #include <linux/ioport.h>
 #include <linux/memory.h>
+#include <linux/sched/task.h>
 #include <asm/sections.h>
 #include "internal.h"
 
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h
new file mode 100644 (file)
index 0000000..0023c91
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _LINUX_SCHED_TASK_H
+#define _LINUX_SCHED_TASK_H
+
+#include <linux/sched.h>
+
+#endif /* _LINUX_SCHED_TASK_H */
index c891cfb8928f927da24a28e4f2e4112accb0d816..47956b22add16944ec3395ec1dd348d370a0e55a 100644 (file)
@@ -76,6 +76,7 @@
 #include <linux/blkdev.h>
 #include <linux/elevator.h>
 #include <linux/sched_clock.h>
+#include <linux/sched/task.h>
 #include <linux/context_tracking.h>
 #include <linux/random.h>
 #include <linux/list.h>
index e8f87bf9840c0e58db06dfed1e804d0a613e4fa7..0125589c742841ddbff14639c1ded5e0590b00b4 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/proc_fs.h>
 #include <linux/rcupdate.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/percpu-rwsem.h>
index 78c206579d01828c32338df01f3c6de7440dc324..f7c063239fa5c74636922743ddb094052b9044c9 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/notifier.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/hotplug.h>
+#include <linux/sched/task.h>
 #include <linux/unistd.h>
 #include <linux/cpu.h>
 #include <linux/oom.h>
index 5bad7dce1b7b3f0644d411f355c3e11ab3e781da..e53408d156df7446b75c8f740793b46971b00b4c 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/sched/autogroup.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/stat.h>
+#include <linux/sched/task.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/capability.h>
index 8632905f64c5fcd93331d5a6972dbd81cc93cdc6..0af64d5d8b73d1241a43cdb11f0d828baf49b6cb 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/sched/user.h>
 #include <linux/sched/numa_balancing.h>
 #include <linux/sched/stat.h>
+#include <linux/sched/task.h>
 #include <linux/rtmutex.h>
 #include <linux/init.h>
 #include <linux/unistd.h>
index 0c407f905ca4efd882e99f7583f9134e2bc78a59..ac5f5c2d098d928d5dac7f49512444b2564d727f 100644 (file)
@@ -20,6 +20,7 @@
 */
 #include <linux/module.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/syscalls.h>
 #include <linux/unistd.h>
 #include <linux/kmod.h>
index ef9b9eb809c74370d613c29b1a8e04d46b676d93..2f26adea0f84d21f4dae6d1ffdbbf94a73f40c67 100644 (file)
@@ -7,6 +7,7 @@
  */
 #include <uapi/linux/sched/types.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/kthread.h>
 #include <linux/completion.h>
 #include <linux/err.h>
index cdafaff926cac11a51755d98aefbc369f85e52a6..12e38c213b70111c1b343af3b1b0bb4eaa99f829 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/mutex.h>
 #include <linux/sched.h>
 #include <linux/sched/clock.h>
+#include <linux/sched/task.h>
 #include <linux/delay.h>
 #include <linux/module.h>
 #include <linux/proc_fs.h>
index 0291804151b587e880ed6e2072bc4217c4694db5..0143ac0ddceb9c79a2c686e6b10b7265b7b5d925 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/syscalls.h>
 #include <linux/proc_ns.h>
 #include <linux/proc_fs.h>
+#include <linux/sched/task.h>
 
 #define pid_hashfn(nr, ns)     \
        hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift)
index 25314c96fbe64a8b4c4283099d21763c4fe82a10..7c8367854dc41bf5e9a676398c57bb71cf915607 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/proc_ns.h>
 #include <linux/reboot.h>
 #include <linux/export.h>
+#include <linux/sched/task.h>
 
 struct pid_cache {
        int nr_ids;
index 85e2915d896166bf3b7d9cd34daec5d69dba43da..c7209f060eeb7c8672cf8f07ba9c83ac6c9460ac 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/suspend.h>
 #include <linux/module.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/syscalls.h>
 #include <linux/freezer.h>
 #include <linux/delay.h>
index bcdbdc19eb353e26fd25db746f8b2db08d5db1a6..0af9287121746d1b198429d52a99e862c4f1a8f0 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/task.h>
 #include <linux/errno.h>
 #include <linux/mm.h>
 #include <linux/highmem.h>
index 0974eb2ef50dc2077fba05762fc66a75a86a977e..6b7155ae5c335e93ce40d9a6359e33ad1750db08 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/sched/nohz.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/hotplug.h>
+#include <linux/sched/task.h>
 
 #include <linux/u64_stats_sync.h>
 #include <linux/kernel_stat.h>
index 15092fd8c7b1ee8c74c4bfcf9f7ef57c7b53a414..25d099fd80f78681fd24ae049cc1e2cf72ed0169 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/sched.h>
 #include <linux/sched/user.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/task.h>
 #include <linux/fs.h>
 #include <linux/tty.h>
 #include <linux/binfmts.h>
index 4a5c6e73ecd41e7107a89b098f4eea9fefc647f1..1d71c051a9515c6acecd4be823465a4760e7cefa 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/list.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/export.h>
 #include <linux/percpu.h>
 #include <linux/kthread.h>
index 8c0392c8be516176e3de8b9ca8129bea15ebda5a..7f1ecd2e41c11f3a5b6cd04df1d60f33a68850dc 100644 (file)
@@ -54,6 +54,7 @@
 #include <linux/sched/stat.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/task.h>
 #include <linux/rcupdate.h>
 #include <linux/uidgid.h>
 #include <linux/cred.h>
index 0c060932639140dab517ff505230c2dedfd42855..0d1597c9ee305780ff65200001b55928dcdf09e3 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <linux/stop_machine.h>
 #include <linux/clocksource.h>
+#include <linux/sched/task.h>
 #include <linux/kallsyms.h>
 #include <linux/seq_file.h>
 #include <linux/suspend.h>
index 9f6984d52feca4b388bd07ceb1662b3aae4253ff..685c50ae63000a65f2dc0ca4c6fe8280088d8646 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/static_key.h>
 
 extern struct tracepoint * const __start___tracepoints_ptrs[];
index 60c57ec936dbdcfaf4f0876274fa984ad2c9fd2b..942adf13418d058cee2260d2e0322fcc545a0988 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/scatterlist.h>
 #include <linux/dma-mapping.h>
+#include <linux/sched/task.h>
 #include <linux/stacktrace.h>
 #include <linux/dma-debug.h>
 #include <linux/spinlock.h>
index 2df6d3687b2a8f13a2a89cfa65fb772d7c0a5adf..a3970573359e3a77178f5981dab96c62e5875779 100644 (file)
@@ -74,6 +74,7 @@
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/jiffies.h>
 #include <linux/delay.h>
 #include <linux/export.h>
index b74984db386e645065c6ca0613d1621338e4592f..27f7210e7fabd1441d699d328213f95302c79378 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/page-flags.h>
 #include <linux/kernel-page-flags.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/ksm.h>
 #include <linux/rmap.h>
 #include <linux/export.h>
index d4994a28dc8559d4d2326bd7581b54dccc567f87..a97a4cec2e1fcd94c5e1eb5f1af334749efe64fa 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
 #include <linux/sched/numa_balancing.h>
+#include <linux/sched/task.h>
 #include <linux/hugetlb.h>
 #include <linux/mman.h>
 #include <linux/swap.h>
index 69f75b0146076e69689b4505d82a8cf95789a28d..d083714a2bb924a0303fa7535acf09d7355aedf0 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/task.h>
 #include <linux/swap.h>
 #include <linux/timex.h>
 #include <linux/jiffies.h>
index 0367a0506667ce2efde9efe8a76d658895896764..2da487d6cea83b4f51db93bcbd05feaad31b927c 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -47,6 +47,7 @@
 
 #include <linux/mm.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/pagemap.h>
 #include <linux/swap.h>
 #include <linux/swapops.h>
index ff2bf3f61b14192299795b3272a0dc4d129c7afe..521ef9b6064fea1429ba196447855a69591e6963 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <linux/mm.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/hugetlb.h>
 #include <linux/mman.h>
 #include <linux/slab.h>
index 7ccad05c0d5c4222410e2d9ba8c95fd59c88d529..d155e12563b139a9879bbc370902ea85a84bd0f3 100644 (file)
@@ -17,6 +17,8 @@
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
+#include <linux/sched/task_stack.h>
 #include <asm/sections.h>
 
 enum {
index bcb0b597c39187b1906fc732b612234c0a23397a..52c34532c78562643fce84832a5b536baf84988b 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/slab.h>
 #include <linux/syscalls.h>
 #include <linux/key.h>
index b12f873f92baf03cc5b71340c13babf3a680b857..57ff536961446e5633c22201bee9216f512f1815 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/tracehook.h>
 #include <linux/errno.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/task.h>
 #include <linux/lsm_hooks.h>
 #include <linux/xattr.h>
 #include <linux/capability.h>