sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h>

Update code that relied on sched.h including various MM types for them.

This will allow us to remove the <linux/mm_types.h> include from <linux/sched.h>.

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:
Ingo Molnar
2017-02-04 00:16:44 +01:00
parent 2e58f173ab
commit 589ee62844
89 changed files with 125 additions and 25 deletions

View File

@@ -2,6 +2,7 @@
#define _LINUX_SCHED_MM_H
#include <linux/sched.h>
#include <linux/mm_types.h>
#include <linux/gfp.h>
#endif /* _LINUX_SCHED_MM_H */