diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-24 11:22:01 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-24 10:26:03 +0100 |
commit | f372f7f8122f1e6cfdcec3d5c39898e435e24c6c (patch) | |
tree | 930a44cb4a1216fd88b57766dfa65ee430457bec /lib | |
parent | e0f13be923328e0ec4bd36e7ea815462db182132 (diff) |
kmemtrace: fix build breakage in lib/decompress_unlzma.c
Impact: fix build
This patch fixes up the following build breakage caused by commit
e251ea2fa52321009940fad02238ef1c369531ae ("rcu: don't include
unnecessary headers, allow kmemtrace w/ tracepoints"):
CC lib/decompress_unlzma.o
lib/decompress_unlzma.c: In function ‘rc_free’:
lib/decompress_unlzma.c:122: error: implicit declaration of function ‘kfree’
lib/decompress_unlzma.c: In function ‘unlzma’:
lib/decompress_unlzma.c:551: error: implicit declaration of function ‘kmalloc’
lib/decompress_unlzma.c:551: warning: assignment makes pointer from integer without a cast
make[1]: *** [lib/decompress_unlzma.o] Error 1
make: *** [lib/] Error 2
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <1237886521.25315.58.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decompress_unlzma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c index 546f2f4c157e..32123a1340e6 100644 --- a/lib/decompress_unlzma.c +++ b/lib/decompress_unlzma.c @@ -34,6 +34,7 @@ #endif /* STATIC */ #include <linux/decompress/mm.h> +#include <linux/slab.h> #define MIN(a, b) (((a) < (b)) ? (a) : (b)) |