|
@@ -539,12 +539,6 @@ void __init prepare_namespace(void)
|
|
{
|
|
{
|
|
int is_floppy;
|
|
int is_floppy;
|
|
|
|
|
|
- if (root_delay) {
|
|
|
|
- printk(KERN_INFO "Waiting %d sec before mounting root device...\n",
|
|
|
|
- root_delay);
|
|
|
|
- ssleep(root_delay);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* wait for the known devices to complete their probing
|
|
* wait for the known devices to complete their probing
|
|
*
|
|
*
|
|
@@ -571,6 +565,12 @@ void __init prepare_namespace(void)
|
|
if (initrd_load())
|
|
if (initrd_load())
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
|
|
+ if (root_delay) {
|
|
|
|
+ pr_info("Waiting %d sec before mounting root device...\n",
|
|
|
|
+ root_delay);
|
|
|
|
+ ssleep(root_delay);
|
|
|
|
+ }
|
|
|
|
+
|
|
/* wait for any asynchronous scanning to complete */
|
|
/* wait for any asynchronous scanning to complete */
|
|
if ((ROOT_DEV == 0) && root_wait) {
|
|
if ((ROOT_DEV == 0) && root_wait) {
|
|
printk(KERN_INFO "Waiting for root device %s...\n",
|
|
printk(KERN_INFO "Waiting for root device %s...\n",
|