]> git.baikalelectronics.ru Git - kernel.git/commit
sched/headers: Move the sched_exec() prototype to <linux/sched/task.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 6 Feb 2017 10:12:45 +0000 (11:12 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:26 +0000 (01:45 +0100)
commit094be1e31a400f6448354ff4090e72baaa5293c8
tree1c4c210dde522ef2dc323bf58984034b3f6fb61e
parentd74323b8d30d41df0f7d76137c0dd2f0effc167d
sched/headers: Move the sched_exec() prototype to <linux/sched/task.h>

sched_exec() better fits into the task lifetime APIs than into the core scheduler
APIs.

This reduces the size of <linux/sched.h> a bit.

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