Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574693
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 43/89] sched/headers: Remove <linux/gfp.h> include from <linux/sched.h> |
| Date | 2017-02-06 14:40 +0100 |
| Message-ID | <t7RGq-5x6-27@gated-at.bofh.it> (permalink) |
| References | <t7RGp-5x6-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
<linux/topology.h> is still needed - but we at least don't have MM headers in sched.h anymore, except <linux/mm_types.h>. Fix dependencies in files that depended on this include. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org> --- include/linux/sched.h | 2 +- include/linux/sched/mm.h | 1 + lib/percpu_ida.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 210f0f4a5841..7324624a49d6 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -20,7 +20,7 @@ #include <linux/kcov.h> #include <linux/task_io_accounting.h> #include <linux/latencytop.h> -#include <linux/gfp.h> +#include <linux/topology.h> #include <linux/magic.h> struct sched_attr; diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index 6dc0d34d773b..acbd122bb1ab 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h @@ -4,6 +4,7 @@ #include <linux/kernel.h> #include <linux/atomic.h> #include <linux/sched.h> +#include <linux/gfp.h> /* * Routines for handling mm_structs diff --git a/lib/percpu_ida.c b/lib/percpu_ida.c index 010410990bc6..6016f1deb1f5 100644 --- a/lib/percpu_ida.c +++ b/lib/percpu_ida.c @@ -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> -- 2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 43/89] sched/headers: Remove <linux/gfp.h> include from <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-06 14:40 +0100
csiph-web