aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2017-02-08 18:51:54 +0100
committerIngo Molnar <[email protected]>2017-03-03 01:45:28 +0100
commit5a2d6880f461faa416c0d329d46a128cf342c1eb (patch)
treede06c9d094bdce6c59c0a2840ccc8bda6c0e6bda
parentcc689c5b352d4a7510b11c975c5c94d4785b37e7 (diff)
sched/headers: Remove <linux/sched.h> from <linux/sched/loadavg.h>
The <linux/sched/loadavg.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 <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--include/linux/sched/loadavg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched/loadavg.h b/include/linux/sched/loadavg.h
index c392e28ce0ac..4264bc6b2c27 100644
--- a/include/linux/sched/loadavg.h
+++ b/include/linux/sched/loadavg.h
@@ -1,8 +1,6 @@
#ifndef _LINUX_SCHED_LOADAVG_H
#define _LINUX_SCHED_LOADAVG_H
-#include <linux/sched.h>
-
/*
* These are the constant used to fake the fixed-point load-average
* counting. Some notes: