Commit 2e58f173 authored by Ingo Molnar's avatar Ingo Molnar

mm/headers, sched/headers: Prepare to split <linux/mm_types_task.h> out of <linux/mm_types.h>

We are going to separate all the MM types that are embedded directly in 'struct task_struct'
into the new <linux/mm_types_task.h> header.

Create a new <linux/mm_types_task.h> that only contains some includes from mm_types.h itself.

This should be trivially correct and easy to bisect to.

(This patch does not materially move the types yet.)
Acked-by: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent f361bf4a
#ifndef _LINUX_MM_TYPES_H #ifndef _LINUX_MM_TYPES_H
#define _LINUX_MM_TYPES_H #define _LINUX_MM_TYPES_H
#include <linux/mm_types_task.h>
#include <linux/auxvec.h> #include <linux/auxvec.h>
#include <linux/types.h>
#include <linux/threads.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/rbtree.h> #include <linux/rbtree.h>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/uprobes.h> #include <linux/uprobes.h>
#include <linux/page-flags-layout.h> #include <linux/page-flags-layout.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <asm/page.h>
#include <asm/mmu.h> #include <asm/mmu.h>
#ifndef AT_VECTOR_SIZE_ARCH #ifndef AT_VECTOR_SIZE_ARCH
......
#ifndef _LINUX_MM_TYPES_TASK_H
#define _LINUX_MM_TYPES_TASK_H
#include <linux/types.h>
#include <linux/threads.h>
#include <linux/atomic.h>
#include <asm/page.h>
#endif /* _LINUX_MM_TYPES_TASK_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment