sched/headers: Move the 'root_task_group' declaration to <linux/sched/autogroup.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 22:15:21 +0000 (23:15 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:47 +0000 (01:43 +0100)
commit70806b21e4d64f01193a2b64a053b75ff53a2b10
treee0fbfb2e22eda1ee7cf2b152b9c2217d0aee32b9
parentf3ac60671954c8d413532627b1be13a76f394c49
sched/headers: Move the 'root_task_group' declaration to <linux/sched/autogroup.h>

Also remove the duplicate declaration from <linux/init_task.h>.

( That declaration was originally duplicated for dependency hell reasons,
  but there's no problem including the much smaller <linux/sched/autogroup.h>
  header now, to pick up the right prototype. )

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/init_task.h
include/linux/sched.h
include/linux/sched/autogroup.h