]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched/headers: Remove <linux/sched.h> from <linux/sched/user.h>
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:55 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:30 +0000 (01:45 +0100)
commitde8deb0ad79f8a49cea5110c006c8676a11611f7
tree02608c8f0cd6a3a2e62ddf5a3d4f47f5f7e17b85
parent556725839e543bc2b45bd73121c0b1c1d6c23714
sched/headers: Remove <linux/sched.h> from <linux/sched/user.h>

If we add <linux/uidgid.h> then <linux/sched/user.h> becomes a
self-contained header and users of it either don't need <linux/sched.h>
or have already included it.

This reduces the size of the header dependency graph.

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched/user.h