sched/headers: Move scheduler topology interfaces to <linux/sched/topology.h>
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 15:36:40 +0000 (16:36 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:41 +0000 (08:42 +0100)
commita60b9eda67beac2318fa159545ba7d022f780736
tree53560e8fa145ca0dcdc1cd7d0a118b88db8741df
parentb69339ba109549beeaf45c45c52ac7025bfcd954
sched/headers: Move scheduler topology interfaces to <linux/sched/topology.h>

The vast majority of sched.h users does not require the topology types and
interfaces, so split them out into <linux/sched/topology.h>.

This reduces the size of linux/sched.h by ~6%.

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>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
include/linux/sched/topology.h