Commit cc689c5b authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched/headers: Remove <linux/sched.h> and <linux/slab.h> from <linux/delayacct.h>

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

This reduces the size of the header dependency graph.

Acked-by: default avatarLinus Torvalds <>
Cc: Mike Galbraith <>
Cc: Peter Zijlstra <>
Cc: Thomas Gleixner <>
Signed-off-by: default avatarIngo Molnar <>
parent ea947639
......@@ -18,8 +18,6 @@
#include <uapi/linux/taskstats.h>
#include <linux/sched.h>
#include <linux/slab.h>
* Per-task flags relevant to delay accounting
......@@ -61,6 +61,8 @@ static inline struct dentry *fault_create_debugfs_attr(const char *name,
struct kmem_cache;
extern bool should_failslab(struct kmem_cache *s, gfp_t gfpflags);
Supports Markdown
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