summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 18:51:57 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:35 +0100
commitb0145d9b332a5117bd0abbb980ab89586a1d5f6c (patch)
tree6cf20c6fe740542f3da2cbf6f6c12893cb756db4 /include/linux/sched
parentdc1995392d79b0eeee147a792482b991f74c1494 (diff)
sched/headers: Remove <linux/sched.h> from <linux/sched/nohz.h>
The <linux/sched/nohz.h> file is 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/nohz.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched/nohz.h b/include/linux/sched/nohz.h
index 9471f0736a3a..4995b717500b 100644
--- a/include/linux/sched/nohz.h
+++ b/include/linux/sched/nohz.h
@@ -1,8 +1,6 @@
#ifndef _LINUX_SCHED_NOHZ_H
#define _LINUX_SCHED_NOHZ_H
-#include <linux/sched.h>
-
/*
* This is the interface between the scheduler and nohz/dyntics:
*/