[PATCH 41/53] sched/headers: Remove the <linux/mm_types.h> dependency from <linux/sched.h>

From: Ingo Molnar
Date: Wed Feb 08 2017 - 14:17:56 EST


Use the freshly introduced, reduced size <linux/mm_types_task.h> header instead.

Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
include/linux/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6ec22565ecc7..dfdc64cc7c06 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -8,7 +8,7 @@
#include <linux/capability.h>
#include <linux/mutex.h>
#include <linux/plist.h>
-#include <linux/mm_types.h>
+#include <linux/mm_types_task.h>
#include <asm/ptrace.h>

#include <linux/sem.h>
--
2.7.4