sched/headers: Move 'init_task' and 'init_thread_union' from <linux/sched.h> to ...
authorIngo Molnar <mingo@kernel.org>
Sat, 4 Feb 2017 00:20:53 +0000 (01:20 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:22 +0000 (01:45 +0100)
commitcdc75e9f7b14f29efcf4b162a3c673733e96db79
tree4d09cb5b167f5f5c82138f3cfe37977d5e8060de
parent77ba809e8b39b4e384df0433e2bd3dd0907dad29
sched/headers: Move 'init_task' and 'init_thread_union' from <linux/sched.h> to <linux/sched/task.h>

'init_task' is really not part of core scheduler APIs but part of
the fork() interface between the scheduler and process management.

So move the declarations.

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