]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0454ce7295897ffca67fed1a0b8b06235979bafa
tree4bd68f1a6e17fa80b057f6debae28ff599d91d23
parentfb0fd36bc868301c67eda97f2727cfa6878fe8d2
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