sched/headers: Move the JOBCTL_ defines and methods from <linux/sched.h> to <linux...
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 11:45:58 +0000 (12:45 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:41 +0000 (01:43 +0100)
commitc41cfc6c5ba46050b416c0b0b2621cbe68c4669c
tree2ced00e9879f311a94945a0e6209e4af0e6a162c
parent5647028d550c959577527cec9c0f29fbcea029ea
sched/headers: Move the JOBCTL_ defines and methods from <linux/sched.h> to <linux/sched/jobctl.h>

Only a small fraction of sched.h users actually utilizes these defines,
and they are not scheduler functionality in any case, so move them
into their separate header.

(Also make <linux/sched/jobctl.h> a self-contained header.)

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/jobctl.h