sched/headers: Move task lifetime APIs from <linux/sched.h> to <linux/sched/task.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 14:24:12 +0000 (15:24 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:45 +0000 (01:43 +0100)
commit901b14bd946a8b7ea211105b6207e082ddd36846
tree4bd68f1a6e17fa80b057f6debae28ff599d91d23
parent0ca0156973a47e689f3bc817e26e15fff3f84eec
sched/headers: Move task lifetime APIs from <linux/sched.h> to <linux/sched/task.h>

There's a fair amount of task lifetime management (a.k.a fork()/exit())
related APIs in <linux/sched.h>, but only a small fraction of
the users of the generic sched.h header make use of them.

Move these functions to the <linux/sched/task.h> 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/task.h