bzip2/lzma: centralize format detection
authorH. Peter Anvin <hpa@zytor.com>
Thu, 8 Jan 2009 23:14:17 +0000 (15:14 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 8 Jan 2009 23:14:17 +0000 (15:14 -0800)
commit889c92d21db40be0b7d22a59395060237895bb85
treedb76e1e002e450cccc1b7a8119ad629eccc24da8
parent6c11b12ac6f101732d43b5682f5b3ae4dda4205f
bzip2/lzma: centralize format detection

Centralize the compression format detection to a common routine in the
lib directory, and use it for both initramfs and initrd.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/linux/decompress/generic.h
init/do_mounts_rd.c
init/initramfs.c
lib/Makefile
lib/decompress.c [new file with mode: 0644]