summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 18:51:58 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:36 +0100
commitcd9c513be34ceaae8bf211474b91b6897574efdd (patch)
tree9841f360fce0ce53a08c02557cabfb345f2488ab /kernel
parentsched/headers: Remove the runqueue_is_locked() prototype (diff)
downloadlinux-cd9c513be34ceaae8bf211474b91b6897574efdd.tar.xz
linux-cd9c513be34ceaae8bf211474b91b6897574efdd.zip
sched/headers: Remove <linux/rwsem.h> from <linux/sched.h>
This is a stray header that is not needed by anything in sched.h, so remove it. Update files that relied on the stray inclusion. 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 'kernel')
-rw-r--r--kernel/utsname_sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c
index c8eac43267e9..233cd8fc6910 100644
--- a/kernel/utsname_sysctl.c
+++ b/kernel/utsname_sysctl.c
@@ -14,6 +14,7 @@
#include <linux/utsname.h>
#include <linux/sysctl.h>
#include <linux/wait.h>
+#include <linux/rwsem.h>
#ifdef CONFIG_PROC_SYSCTL