Decompressors: include <linux/slab.h> in <linux/decompress/mm.h>
commit2b6b5caa6d05579bd1501006e34feec1b2aef8c4
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 13 Jan 2011 01:01:15 +0000 (12 17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:23 +0000 (13 08:03 -0800)
tree9345fc087fab818c36bf348a563ba1f83c350bda
parent93685ad247ef65b7d6f90ffe97b44f5cfeaf40d3
Decompressors: include <linux/slab.h> in <linux/decompress/mm.h>

Currently users of mm.h need to include <linux/slab.h> to use the macros
malloc() and free() provided by mm.h.  This fixes it.

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alain Knaff <alain@knaff.lu>
Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/decompress/mm.h
lib/decompress_bunzip2.c
lib/decompress_inflate.c
lib/decompress_unlzma.c
lib/decompress_unlzo.c