aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2017-02-01 16:36:40 +0100
committerIngo Molnar <[email protected]>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 <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
-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.