Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched/headers: Prepare for new header dependencies before moving code to <linux/sched/autogroup.h>

We are going to split <linux/sched/autogroup.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/autogroup.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>

+11
+1
fs/proc/base.c
··· 85 85 #include <linux/user_namespace.h> 86 86 #include <linux/fs_struct.h> 87 87 #include <linux/slab.h> 88 + #include <linux/sched/autogroup.h> 88 89 #include <linux/flex_array.h> 89 90 #include <linux/posix-timers.h> 90 91 #ifdef CONFIG_HARDWALL
+6
include/linux/sched/autogroup.h
··· 1 + #ifndef _LINUX_SCHED_AUTOGROUP_H 2 + #define _LINUX_SCHED_AUTOGROUP_H 3 + 4 + #include <linux/sched.h> 5 + 6 + #endif /* _LINUX_SCHED_AUTOGROUP_H */
+1
kernel/exit.c
··· 6 6 7 7 #include <linux/mm.h> 8 8 #include <linux/slab.h> 9 + #include <linux/sched/autogroup.h> 9 10 #include <linux/interrupt.h> 10 11 #include <linux/module.h> 11 12 #include <linux/capability.h>
+1
kernel/fork.c
··· 12 12 */ 13 13 14 14 #include <linux/slab.h> 15 + #include <linux/sched/autogroup.h> 15 16 #include <linux/init.h> 16 17 #include <linux/unistd.h> 17 18 #include <linux/module.h>
+1
kernel/sched/autogroup.h
··· 2 2 3 3 #include <linux/kref.h> 4 4 #include <linux/rwsem.h> 5 + #include <linux/sched/autogroup.h> 5 6 6 7 struct autogroup { 7 8 /*
+1
kernel/sys.c
··· 49 49 #include <linux/binfmts.h> 50 50 51 51 #include <linux/sched.h> 52 + #include <linux/sched/autogroup.h> 52 53 #include <linux/sched/loadavg.h> 53 54 #include <linux/rcupdate.h> 54 55 #include <linux/uidgid.h>