diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-24 05:13:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 06:21:36 -0400 |
commit | 079effb6933f34b9b1b67b08bd4fd7fb672d16ef (patch) | |
tree | 9ce455337d161df8bd5ae5bbdd52b003b5cc268a /lib | |
parent | 23516dc709914845f18fbe379b3524b8156e5c85 (diff) |
kmemtrace, kbuild: fix slab.h dependency problem in lib/decompress_inflate.c
Impact: fix build
lib/decompress_inflate.c depends on slab.h without including it:
CC lib/decompress_inflate.o
lib/decompress_inflate.c: In function ‘gunzip’:
lib/decompress_inflate.c:45: error: implicit declaration of function ‘kmalloc’
lib/decompress_inflate.c:45: warning: assignment makes pointer from integer without a cast
lib/decompress_inflate.c:57: warning: assignment makes pointer from integer without a cast
lib/decompress_inflate.c:65: warning: assignment makes pointer from integer without a cast
lib/decompress_inflate.c:71: warning: assignment makes pointer from integer without a cast
lib/decompress_inflate.c:154: error: implicit declaration of function ‘kfree’
make[1]: *** [lib/decompress_inflate.o] Error 1
make: *** [lib/] Error 2
It gets included implicitly currently - but this will not be the
case with upcoming kmemtrace changes.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <1237886030.25315.47.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decompress_inflate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c index 839a329b4fc4..e36b296fc9f8 100644 --- a/lib/decompress_inflate.c +++ b/lib/decompress_inflate.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #endif /* STATIC */ | 23 | #endif /* STATIC */ |
24 | 24 | ||
25 | #include <linux/decompress/mm.h> | 25 | #include <linux/decompress/mm.h> |
26 | #include <linux/slab.h> | ||
26 | 27 | ||
27 | #define INBUF_LEN (16*1024) | 28 | #define INBUF_LEN (16*1024) |
28 | 29 | ||