diff options
author | Mark Brown <broonie@kernel.org> | 2014-10-20 12:55:07 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 13:27:32 -0400 |
commit | b7a40242c82cd73cfcea305f23e67d068dd8401a (patch) | |
tree | 251b49d19cd7c371847ae1f951e1b537ca0e1c15 /init/do_mounts.c | |
parent | d26833bfce5e56017bea9f1f50838f20e18e7b7e (diff) | |
parent | 9c6de47d53a3ce8df1642ae67823688eb98a190a (diff) |
Merge branch 'fix/dw' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-dw
Conflicts:
drivers/spi/spi-dw-mid.c
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r-- | init/do_mounts.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index b6237c31b0e2..82f22885c87e 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -539,6 +539,12 @@ void __init prepare_namespace(void) | |||
539 | { | 539 | { |
540 | int is_floppy; | 540 | int is_floppy; |
541 | 541 | ||
542 | if (root_delay) { | ||
543 | printk(KERN_INFO "Waiting %d sec before mounting root device...\n", | ||
544 | root_delay); | ||
545 | ssleep(root_delay); | ||
546 | } | ||
547 | |||
542 | /* | 548 | /* |
543 | * wait for the known devices to complete their probing | 549 | * wait for the known devices to complete their probing |
544 | * | 550 | * |
@@ -565,12 +571,6 @@ void __init prepare_namespace(void) | |||
565 | if (initrd_load()) | 571 | if (initrd_load()) |
566 | goto out; | 572 | goto out; |
567 | 573 | ||
568 | if (root_delay) { | ||
569 | pr_info("Waiting %d sec before mounting root device...\n", | ||
570 | root_delay); | ||
571 | ssleep(root_delay); | ||
572 | } | ||
573 | |||
574 | /* wait for any asynchronous scanning to complete */ | 574 | /* wait for any asynchronous scanning to complete */ |
575 | if ((ROOT_DEV == 0) && root_wait) { | 575 | if ((ROOT_DEV == 0) && root_wait) { |
576 | printk(KERN_INFO "Waiting for root device %s...\n", | 576 | printk(KERN_INFO "Waiting for root device %s...\n", |