diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-24 05:13:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 06:22:45 -0400 |
commit | ba56617ef37f2be31f46f9533057e173b778602e (patch) | |
tree | 9300b764c7e473c663f11f9073732db23a42e049 | |
parent | 079effb6933f34b9b1b67b08bd4fd7fb672d16ef (diff) |
kmemtrace, kbuild: fix slab.h dependency problem in lib/decompress_bunzip2.c
Impact: cleanup
lib/decompress_bunzip2.c depends on slab.h without including it:
CC lib/decompress_bunzip2.o
lib/decompress_bunzip2.c: In function ‘start_bunzip’:
lib/decompress_bunzip2.c:636: error: implicit declaration of function ‘kmalloc’
lib/decompress_bunzip2.c:636: warning: assignment makes pointer from integer without a cast
lib/decompress_bunzip2.c: In function ‘bunzip2’:
lib/decompress_bunzip2.c:682: warning: assignment makes pointer from integer without a cast
lib/decompress_bunzip2.c:693: warning: assignment makes pointer from integer without a cast
lib/decompress_bunzip2.c:726: error: implicit declaration of function ‘kfree’
make[1]: *** [lib/decompress_bunzip2.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: <1237886032.25315.48.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | lib/decompress_bunzip2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c index 5d3ddb5fcfd9..708e2a86d87b 100644 --- a/lib/decompress_bunzip2.c +++ b/lib/decompress_bunzip2.c | |||
@@ -50,6 +50,7 @@ | |||
50 | #endif /* !STATIC */ | 50 | #endif /* !STATIC */ |
51 | 51 | ||
52 | #include <linux/decompress/mm.h> | 52 | #include <linux/decompress/mm.h> |
53 | #include <linux/slab.h> | ||
53 | 54 | ||
54 | #ifndef INT_MAX | 55 | #ifndef INT_MAX |
55 | #define INT_MAX 0x7fffffff | 56 | #define INT_MAX 0x7fffffff |