summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-01 16:36:40 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:27 +0100
commitea94763950e49d1aa622c59218ee2fc3b434ba6b (patch)
tree18bc616dd64828ba8ee0438d3872178599d79a86
parentf411229e1dd623a3dee623824d094546789977e0 (diff)
sched/headers: Remove <linux/sched.h> from <linux/sched/clock.h>
The <linux/sched/clock.h> file is a largely 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>
-rw-r--r--include/linux/sched/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/clock.h b/include/linux/sched/clock.h
index ac12f71d359c..4a68c6791207 100644
--- a/include/linux/sched/clock.h
+++ b/include/linux/sched/clock.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_SCHED_CLOCK_H
#define _LINUX_SCHED_CLOCK_H
-#include <linux/sched.h>
+#include <linux/smp.h>
/*
* Do not use outside of architecture code which knows its limitations.