]> 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)
commit6f175fc9536355d8aa5c2d4854848a97c244a031
tree1c4c210dde522ef2dc323bf58984034b3f6fb61e
parentcda66725c1444db67127115d611c982b62b45d8c
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