aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@canonical.com>2010-07-13 06:41:16 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-09-23 08:46:31 -0600
commit83cb133860cedfa8391310261fe4e8962ec1fab8 (patch)
tree2f09071566fb92ade0af71c88002c8ad9dc5d12a /init
parent9a56a534d4cdf80a778588f3e9c2db42187892c5 (diff)
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 <tim.gardner@canonical.com> Original-patch-by: Nicolas Pitre <nicolas.pitre@linaro.org> Cc: Surbhi Palande <surbhi.palande@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'init')
-rw-r--r--init/noinitramfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/noinitramfs.c b/init/noinitramfs.c
index 267739d8517..e0f648cad6e 100644
--- a/init/noinitramfs.c
+++ b/init/noinitramfs.c
@@ -22,6 +22,8 @@
#include <linux/kdev_t.h>
#include <linux/syscalls.h>
+LIST_HEAD(populate_rootfs_domain);
+
/*
* Create a simple rootfs that is similar to the default initramfs
*/