]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] initramfs should not depend on CONFIG_BLOCK
authorDimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Tue, 6 Mar 2007 09:42:17 +0000 (01:42 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 6 Mar 2007 17:30:25 +0000 (09:30 -0800)
commit5b6a7fb9ba8e839caf603c7abd3baf13d2a7000e
tree0cce772cb0bd4fbd7de8647950dab2ac66883c18
parentdde381f265e89c5cd8b5aadaa49d7d8a20b06c3d
[PATCH] initramfs should not depend on CONFIG_BLOCK

initramfs ended up depending on BLOCK:

  INITRAMFS_SOURCE <-- BLK_DEV_INITRD <-- BLOCK

This inhibits use of customized-initramfs-over-ramfs without block layer
(ramfs would still be enabled), useful in embedded applications.

Move BLK_DEV_INITRD out of 'drivers/block/Kconfig' and into 'init/Kconfig',
make it unconditional.

Signed-off-by: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/Kconfig
init/Kconfig