sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 16:54:15 +0000 (17:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:31 +0000 (08:42 +0100)
commit5b825c3af1d8a0af4deb4a5eb349d0d0050c62e5
treea9b64c8ece7c544b3f4dc7179e6671a8fc2c12c9
parent7fce777cd4eacc0bdcb33017e5a4c495d28afed1
sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>

Add #include <linux/cred.h> dependencies to all .c files rely on sched.h
doing that for them.

Note that even if the count where we need to add extra headers seems high,
it's still a net win, because <linux/sched.h> is included in over
2,200 files ...

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>
65 files changed:
arch/arm/kernel/sys_oabi-compat.c
arch/mips/kernel/mips-mt-fpaff.c
arch/x86/include/asm/intel_rdt.h
arch/x86/kernel/cpu/intel_cacheinfo.c
block/ioprio.c
drivers/misc/eeprom/eeprom.c
drivers/misc/lkdtm_heap.c
drivers/misc/vmw_vmci/vmci_context.c
drivers/misc/vmw_vmci/vmci_host.c
drivers/staging/lustre/lustre/include/lustre_compat.h
drivers/staging/lustre/lustre/ptlrpc/sec.c
drivers/xen/balloon.c
fs/9p/v9fs.c
fs/affs/inode.c
fs/affs/super.c
fs/autofs4/dev-ioctl.c
fs/befs/linuxvfs.c
fs/binfmt_elf.c
fs/cachefiles/internal.h
fs/compat.c
fs/exportfs/expfs.c
fs/ext2/balloc.c
fs/ext4/ialloc.c
fs/file_table.c
fs/gfs2/inode.c
fs/gfs2/sys.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/isofs/inode.c
fs/jffs2/fs.c
fs/libfs.c
fs/namespace.c
fs/ncpfs/ioctl.c
fs/notify/fanotify/fanotify.c
fs/notify/inotify/inotify_fsnotify.c
fs/omfs/inode.c
fs/overlayfs/copy_up.c
fs/overlayfs/inode.c
fs/overlayfs/namei.c
fs/overlayfs/super.c
fs/overlayfs/util.c
fs/posix_acl.c
fs/proc/proc_sysctl.c
fs/proc/root.c
fs/quota/dquot.c
fs/stat.c
fs/xfs/xfs_ioctl.c
include/linux/cred.h
include/linux/sched/signal.h
include/linux/wait.h
include/net/scm.h
include/rdma/ib.h
ipc/namespace.c
kernel/pid_namespace.c
kernel/ucount.c
kernel/uid16.c
kernel/utsname.c
mm/usercopy.c
net/dns_resolver/dns_query.c
net/netfilter/xt_owner.c
net/sunrpc/auth.c
security/apparmor/policy.c
security/keys/internal.h
security/keys/keyctl.c
security/keys/persistent.c