summaryrefslogtreecommitdiffstats
path: root/fs/proc/loadavg.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 08:45:17 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:27 +0100
commit4f17722c7256af8e17c2c4f29f170247264bdf48 (patch)
tree7f7e5f8036765d1b2809332572add86452274c2e /fs/proc/loadavg.c
parentsched/headers: Prepare for new header dependencies before moving code to <uap... (diff)
downloadlinux-4f17722c7256af8e17c2c4f29f170247264bdf48.tar.xz
linux-4f17722c7256af8e17c2c4f29f170247264bdf48.zip
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/loadavg.h>
We are going to split <linux/sched/loadavg.h> out of <linux/sched.h>, which will have to be picked up from a couple of .c files. Create a trivial placeholder <linux/sched/topology.h> file that just maps to <linux/sched.h> to make this patch obviously correct and bisectable. Include the new header in the files that are going to need it. 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>
Diffstat (limited to 'fs/proc/loadavg.c')
-rw-r--r--fs/proc/loadavg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/loadavg.c b/fs/proc/loadavg.c
index aec66e6c2060..add5255ce7e0 100644
--- a/fs/proc/loadavg.c
+++ b/fs/proc/loadavg.c
@@ -3,6 +3,7 @@
#include <linux/pid_namespace.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
+#include <linux/sched/loadavg.h>
#include <linux/seq_file.h>
#include <linux/seqlock.h>
#include <linux/time.h>