]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] BLK_DEV_INITRD: do not require BLK_DEV_RAM=y
authorZdenek Pavlas <pavlas@nextra.cz>
Sat, 25 Mar 2006 11:07:49 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:57 +0000 (08:22 -0800)
commit340e48e662dc9bf79cdd9dc755cb2eb2bad580cd
treedcd67a41171101d47cf9afa77f642fc2b3efe172
parent05eeae208d08a05a6980cf2ff61f02843c0955fd
[PATCH] BLK_DEV_INITRD: do not require BLK_DEV_RAM=y

Initramfs initrd images do not need a ramdisk device, so remove this
restriction in Kconfig.  BLK_DEV_RAM=n saves about 13k on i386.  Also
without ramdisk device there's no need for "dry run", so initramfs unpacks
much faster.

People using cramfs, squashfs, or gzipped ext2/minix initrd images are
probably smart enough not to turn off ramdisk support by accident.

Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/Kconfig
init/initramfs.c