summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
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 /include/linux/sched.h
parentfae3c30c2d1ae3ff93877f64e5d55e2443d8f82f (diff)
downloadop-kernel-dev-cd9c513be34ceaae8bf211474b91b6897574efdd.zip
op-kernel-dev-cd9c513be34ceaae8bf211474b91b6897574efdd.tar.gz
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 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index ac98255..b361f88 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -226,8 +226,6 @@ struct task_cputime {
#define prof_exp stime
#define sched_exp sum_exec_runtime
-#include <linux/rwsem.h>
-
#ifdef CONFIG_SCHED_INFO
struct sched_info {
/* cumulative counters */
OpenPOWER on IntegriCloud