Commit fd771233 authored by Ingo Molnar's avatar Ingo Molnar

sched/headers: Prepare to remove the <linux/gfp.h> include from <linux/sched.h>

<linux/topology.h> is still needed - also update other headers
and .c files that depend on sched.h including gfp.h (and its
sub-headers) for them.
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 5b3cc15a
...@@ -56,6 +56,7 @@ struct sched_param { ...@@ -56,6 +56,7 @@ struct sched_param {
#include <linux/llist.h> #include <linux/llist.h>
#include <linux/uidgid.h> #include <linux/uidgid.h>
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/topology.h>
#include <linux/magic.h> #include <linux/magic.h>
#include <linux/cgroup-defs.h> #include <linux/cgroup-defs.h>
......
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
#define _LINUX_SCHED_MM_H #define _LINUX_SCHED_MM_H
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/gfp.h>
#endif /* _LINUX_SCHED_MM_H */ #endif /* _LINUX_SCHED_MM_H */
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* General Public License for more details. * General Public License for more details.
*/ */
#include <linux/mm.h>
#include <linux/bitmap.h> #include <linux/bitmap.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/bug.h> #include <linux/bug.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