Skip to content

Commit

Permalink
sched/headers: Prepare to remove the <linux/gfp.h> include from <linu…
Browse files Browse the repository at this point in the history
…x/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]>
  • Loading branch information
Ingo Molnar committed Mar 2, 2017
1 parent 5b3cc15 commit fd77123
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 1 addition & 0 deletions include/linux/sched/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
#define _LINUX_SCHED_MM_H

#include <linux/sched.h>
#include <linux/gfp.h>

#endif /* _LINUX_SCHED_MM_H */
1 change: 1 addition & 0 deletions lib/percpu_ida.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fd77123

Please sign in to comment.