diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-29 09:59:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:04 +0200 |
commit | 1aeb272cf09f9e2cbc62163b9f37a9b4d1c7e81d (patch) | |
tree | 17c76e18fa145affedae790460cff724f965646b /kernel/res_counter.c | |
parent | binfmt_misc.c: avoid potential kernel stack overflow (diff) | |
download | linux-1aeb272cf09f9e2cbc62163b9f37a9b4d1c7e81d.tar.xz linux-1aeb272cf09f9e2cbc62163b9f37a9b4d1c7e81d.zip |
kernel: explicitly include required header files under kernel/
Following an experimental deletion of the unnecessary directive
#include <linux/slab.h>
from the header file <linux/percpu.h>, these files under kernel/ were exposed
as needing to include one of <linux/slab.h> or <linux/gfp.h>, so explicit
includes were added where necessary.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/res_counter.c')
-rw-r--r-- | kernel/res_counter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/res_counter.c b/kernel/res_counter.c index efbfc0fc232f..a508c2769463 100644 --- a/kernel/res_counter.c +++ b/kernel/res_counter.c @@ -10,6 +10,7 @@ #include <linux/types.h> #include <linux/parser.h> #include <linux/fs.h> +#include <linux/slab.h> #include <linux/res_counter.h> #include <linux/uaccess.h> |