aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig3
-rw-r--r--init/do_mounts.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 3b36a1d53656..a7697787946a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -389,9 +389,6 @@ config SLOB
389 default !SLAB 389 default !SLAB
390 bool 390 bool
391 391
392config OBSOLETE_INTERMODULE
393 tristate
394
395menu "Loadable module support" 392menu "Loadable module support"
396 393
397config MODULES 394config MODULES
diff --git a/init/do_mounts.c b/init/do_mounts.c
index f4b7b9d278cd..21b3b8f33a72 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -409,6 +409,10 @@ void __init prepare_namespace(void)
409 409
410 if (saved_root_name[0]) { 410 if (saved_root_name[0]) {
411 root_device_name = saved_root_name; 411 root_device_name = saved_root_name;
412 if (!strncmp(root_device_name, "mtd", 3)) {
413 mount_block_root(root_device_name, root_mountflags);
414 goto out;
415 }
412 ROOT_DEV = name_to_dev_t(root_device_name); 416 ROOT_DEV = name_to_dev_t(root_device_name);
413 if (strncmp(root_device_name, "/dev/", 5) == 0) 417 if (strncmp(root_device_name, "/dev/", 5) == 0)
414 root_device_name += 5; 418 root_device_name += 5;