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: 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]>
This commit is contained in:
Ingo Molnar committed 2017-03-02 08:42:34 +01:00
1 parent 5b3cc15aff
commit fd7712337f
3 files changed
+3

No files matched your search

+1
View File
@@ -56,6 +56,7 @@ struct sched_param {
#include <linux/llist.h>
#include <linux/uidgid.h>
#include <linux/gfp.h>
#include <linux/topology.h>
#include <linux/magic.h>
#include <linux/cgroup-defs.h>
+1
View File
@@ -2,5 +2,6 @@
#define _LINUX_SCHED_MM_H
#include <linux/sched.h>
#include <linux/gfp.h>
#endif /* _LINUX_SCHED_MM_H */
+1
View File
@@ -14,6 +14,7 @@
* General Public License for more details.
*/
#include <linux/mm.h>
#include <linux/bitmap.h>
#include <linux/bitops.h>
#include <linux/bug.h>