From 6b50196c1891c217507e8d2ce22759277cb6bc6f Mon Sep 17 00:00:00 2001 From: Marek Lindner Date: Thu, 2 Jul 2009 04:18:05 +0800 Subject: [PATCH] adding do_mounts.c --- target/linux/xburst/patches-2.6.28/450-init.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/target/linux/xburst/patches-2.6.28/450-init.patch b/target/linux/xburst/patches-2.6.28/450-init.patch index 388aed827..670e1e2be 100644 --- a/target/linux/xburst/patches-2.6.28/450-init.patch +++ b/target/linux/xburst/patches-2.6.28/450-init.patch @@ -1,13 +1,10 @@ --- linux-2.6.24.7.old/init/do_mounts.c 2008-05-07 01:22:34.000000000 +0200 +++ linux-2.6.24.7/init/do_mounts.c 2009-04-12 18:13:57.000000000 +0200 -@@ -440,7 +440,9 @@ - +@@ -378,6 +378,7 @@ if (saved_root_name[0]) { - root_device_name = saved_root_name; -- if (!strncmp(root_device_name, "mtd", 3)) { -+ if (!strncmp(root_device_name, "mtd", 3) || -+ !strncmp(root_device_name, "ubi", 3) || -+ !strncmp(root_device_name, "mmc", 3)) { + root_device_name = saved_root_name; + if (!strncmp(root_device_name, "mtd", 3) || ++ !strncmp(root_device_name, "mmc", 3) || + !strncmp(root_device_name, "ubi", 3)) { mount_block_root(root_device_name, root_mountflags); goto out; - }