forked from Minki/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>
This commit is contained in:
parent
4f17722c72
commit
4eb5aaa3af
@ -85,6 +85,7 @@
|
||||
#include <linux/user_namespace.h>
|
||||
#include <linux/fs_struct.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched/autogroup.h>
|
||||
#include <linux/flex_array.h>
|
||||
#include <linux/posix-timers.h>
|
||||
#ifdef CONFIG_HARDWALL
|
||||
|
6
include/linux/sched/autogroup.h
Normal file
6
include/linux/sched/autogroup.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _LINUX_SCHED_AUTOGROUP_H
|
||||
#define _LINUX_SCHED_AUTOGROUP_H
|
||||
|
||||
#include <linux/sched.h>
|
||||
|
||||
#endif /* _LINUX_SCHED_AUTOGROUP_H */
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <linux/mm.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched/autogroup.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/capability.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched/autogroup.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/module.h>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <linux/kref.h>
|
||||
#include <linux/rwsem.h>
|
||||
#include <linux/sched/autogroup.h>
|
||||
|
||||
struct autogroup {
|
||||
/*
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include <linux/binfmts.h>
|
||||
|
||||
#include <linux/sched.h>
|
||||
#include <linux/sched/autogroup.h>
|
||||
#include <linux/sched/loadavg.h>
|
||||
#include <linux/rcupdate.h>
|
||||
#include <linux/uidgid.h>
|
||||
|
Loading…
Reference in New Issue
Block a user