]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8eb29111a9238098fc26b2a13f3a4e5834f5830
tree4d09cb5b167f5f5c82138f3cfe37977d5e8060de
parentda5ecbb016502cc47220a3bc0696bd9e280b46a9
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