]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fde56d8b0e944749aaa5c86aae8d338cc6332d7
tree0dbeea711c6f93219680c4a0ddaf4096b8763db4
parent0a92331b863a9455fdb121e8541e9e9a4473623f
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