sched/headers: Remove the <linux/mm_types.h> dependency from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 23:16:44 +0000 (00:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:16 +0000 (01:45 +0100)
Use the freshly introduced, reduced size <linux/mm_types_task.h> header instead.

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>
drivers/video/fbdev/auo_k190x.c
include/linux/sched.h

index 9580374667ba7cd67d785fa7d0cff8247fa11fc4..0d06038324e003d07ca3bd4e1d4c16d16f03303b 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/sched/mm.h>
 #include <linux/kernel.h>
 #include <linux/gpio.h>
 #include <linux/platform_device.h>
index 4934733bd6cb7d57cc5d9b09daa9c65e93b20334..3eb284741790c454e950ed47f29ff3fbe5e1543b 100644 (file)
@@ -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>