--- zzzz-none-000/linux-2.6.13.1/init/do_mounts.c 2005-09-10 02:42:58.000000000 +0000 +++ ohio-7170-487/linux-2.6.13.1/init/do_mounts.c 2006-11-06 16:02:03.000000000 +0000 @@ -206,7 +206,10 @@ goto done; } -static int __init root_dev_setup(char *line) +#if !defined(CONFIG_MIPS_OHIO) && !defined(CONFIG_MIPS_AR7) && !defined(CONFIG_ARCH_DAVINCI) && !defined(CONFIG_MIPS_UR8) +static +#endif /*--- #if !defined(CONFIG_MIPS_OHIO) && !defined(CONFIG_MIPS_AR7) && !defined(CONFIG_ARCH_DAVINCI) && !defined(CONFIG_MIPS_UR8) ---*/ +int __init root_dev_setup(char *line) { strlcpy(saved_root_name, line, sizeof(saved_root_name)); return 1; @@ -403,6 +406,8 @@ md_run_setup(); + printk("[prepare_namespace] new mount root %s\n", saved_root_name ? saved_root_name : ""); + if (saved_root_name[0]) { root_device_name = saved_root_name; ROOT_DEV = name_to_dev_t(root_device_name);