]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6406154beca1afc006fbdee98ac6e02233522f19
treec9f47bd84824aabcd26106c617821dccaf16051a
parent1beb4a2d40b3e191de98958c62d44c937492be85
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