summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-08-24 19:56:28 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2019-11-25 14:53:53 +0000
commit1e59230fa77595aa216510ec654169bded297971 (patch)
tree62a8b7b12c3fee8d0b5a7244287145db2427756b
parent3c22b7d01c78663bcb1d39a7b76dda0fb28fbb70 (diff)
neponset hack
-rw-r--r--init/do_mounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 9634ecf3743d..72536e02ee65 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -614,7 +614,7 @@ void __init prepare_namespace(void)
async_synchronize_full();
}
- is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR;
+ is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR || MAJOR(ROOT_DEV) == 31;
if (is_floppy && rd_doload && rd_load_disk(0))
ROOT_DEV = Root_RAM0;