sched/headers: Remove the <linux/topology.h> include from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 6 Feb 2017 09:01:09 +0000 (10:01 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:41 +0000 (01:45 +0100)
commitee6a3d19f15b9b10075481088b8d4537f286d7b4
treec9f47bd84824aabcd26106c617821dccaf16051a
parent283cb90305cf1686594ed537c7a8cb188eba1a4d
sched/headers: Remove the <linux/topology.h> include from <linux/sched.h>

It's used only by a single (rarely used) inline function (task_node(p)),
which we can move to <linux/sched/topology.h>.

( Add <linux/nodemask.h>, because we rely on that. )

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/mips/sgi-ip27/ip27-smp.c
include/linux/sched.h
include/linux/sched/topology.h