Commit dc199539 authored by Ingo Molnar's avatar Ingo Molnar

sched/headers: Remove <linux/sched.h> from <linux/sched/stat.h>

The <linux/sched/stat.h> file is a largely self-contained header and users of
it either don't need <linux/sched.h> - or have already included it.

( Keep the <linux/percpu.h> dependency.)

This reduces the size of the header dependency graph.
Acked-by: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent f0a0eb69
#ifndef _LINUX_SCHED_STAT_H #ifndef _LINUX_SCHED_STAT_H
#define _LINUX_SCHED_STAT_H #define _LINUX_SCHED_STAT_H
#include <linux/sched.h> #include <linux/percpu.h>
/* /*
* Various counters maintained by the scheduler and fork(), * Various counters maintained by the scheduler and fork(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment