From 30985d6d0170d27735c2cfdb987ebd6d82e21122 Mon Sep 17 00:00:00 2001 From: Tim Gardner Date: Tue, 13 Jul 2010 06:41:16 -0600 Subject: UBUNTU: SAUCE: fix build error with CONFIG_BLK_DEV_INITRD=n The original aynchronous boot patch (UBUNTU: SAUCE: Make populate_rootfs asynchronous) did not take into consideration the case when CONFIG_BLK_DEV_INITRD=n, e.g., populate_rootfs_domain becomes undefined. Therefore, add it to noinitramfs.c where its use is benign. Signed-off-by: Tim Gardner Original-patch-by: Nicolas Pitre Cc: Surbhi Palande Signed-off-by: Leann Ogasawara --- init/noinitramfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/noinitramfs.c b/init/noinitramfs.c index f4c1a3a1b8c..c2d844013a4 100644 --- a/init/noinitramfs.c +++ b/init/noinitramfs.c @@ -22,6 +22,8 @@ #include #include +LIST_HEAD(populate_rootfs_domain); + /* * Create a simple rootfs that is similar to the default initramfs */ -- cgit v1.2.3