diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-01 10:36:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 19:45:28 -0500 |
commit | cc689c5b352d4a7510b11c975c5c94d4785b37e7 (patch) | |
tree | 8bc50a1647f6894cc9eb4219a5e690a037bdc5df /include/linux/fault-inject.h | |
parent | ea94763950e49d1aa622c59218ee2fc3b434ba6b (diff) |
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: 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 'include/linux/fault-inject.h')
-rw-r--r-- | include/linux/fault-inject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fault-inject.h b/include/linux/fault-inject.h index 9f4956d8601c..728d4e0292aa 100644 --- a/include/linux/fault-inject.h +++ b/include/linux/fault-inject.h | |||
@@ -61,6 +61,8 @@ static inline struct dentry *fault_create_debugfs_attr(const char *name, | |||
61 | 61 | ||
62 | #endif /* CONFIG_FAULT_INJECTION */ | 62 | #endif /* CONFIG_FAULT_INJECTION */ |
63 | 63 | ||
64 | struct kmem_cache; | ||
65 | |||
64 | #ifdef CONFIG_FAILSLAB | 66 | #ifdef CONFIG_FAILSLAB |
65 | extern bool should_failslab(struct kmem_cache *s, gfp_t gfpflags); | 67 | extern bool should_failslab(struct kmem_cache *s, gfp_t gfpflags); |
66 | #else | 68 | #else |