diff options
| author | Ingo Molnar <[email protected]> | 2017-02-04 00:16:44 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-03-02 08:42:37 +0100 |
| commit | 589ee62844e042b0b7d19ef57fb4cff77f3ca294 (patch) | |
| tree | 42b67b3ff30a557f5eddb3f26f963483f812d3a5 /include/linux | |
| parent | 2e58f173ab89b29a1373088b8727133dbf7322b0 (diff) | |
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 <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/init_task.h | 1 | ||||
| -rw-r--r-- | include/linux/sched/mm.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 452c9799318c..f6841c19c913 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -15,6 +15,7 @@ #include <linux/sched/autogroup.h> #include <net/net_namespace.h> #include <linux/sched/rt.h> +#include <linux/mm_types.h> #include <asm/thread_info.h> diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index 1cf7941bb946..d32e3932b2e3 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h @@ -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 */ |