sched/headers: Move 'struct user_struct' definition and APIs to the new <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 09:22:42 +0000 (10:22 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:37 +0000 (01:43 +0100)
commitbcbb6a5bf7df6e37ba652d1f426eab042ec4f56b
tree0dbeea711c6f93219680c4a0ddaf4096b8763db4
parentc3edc4010e9d102eb7b8f17d15c2ebc425fed63c
sched/headers: Move 'struct user_struct' definition and APIs to the new <linux/sched/user.h> header

'struct user_struct' was added to sched.h historically, but it's actually
entirely independent of task_struct and of scheduler details, so move
it to its own header.

Fix up .c files using those facilities.

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/user.h