sched/headers: Remove <linux/sched.h> from <linux/sched/loadavg.h>
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:54 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:28 +0000 (01:45 +0100)
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 <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched/loadavg.h

index c392e28ce0ac79db6d23c4bde5d5d7433c7e0e78..4264bc6b2c2767f5442684b5467f9d44023f6351 100644 (file)
@@ -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: