summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 20:51:55 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-03 03:45:30 +0300
commitde8deb0ad79f8a49cea5110c006c8676a11611f7 (patch)
tree02608c8f0cd6a3a2e62ddf5a3d4f47f5f7e17b85 /include/linux/sched
parent556725839e543bc2b45bd73121c0b1c1d6c23714 (diff)
downloadlinux-de8deb0ad79f8a49cea5110c006c8676a11611f7.tar.xz
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>
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched/user.h b/include/linux/sched/user.h
index 40c6363da5ef..5d5415e129d4 100644
--- a/include/linux/sched/user.h
+++ b/include/linux/sched/user.h
@@ -1,7 +1,8 @@
#ifndef _LINUX_SCHED_USER_H
#define _LINUX_SCHED_USER_H
-#include <linux/sched.h>
+#include <linux/uidgid.h>
+#include <linux/atomic.h>
struct key;