start: Avoid infinite loop when BOOTDEVICE is defined
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 13 Feb 2018 22:22:52 +0000 (22:22 +0000)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 26 Feb 2018 18:59:08 +0000 (18:59 +0000)
commit46715faa86bdbb8b94888c347d83c5f764eada9f
tree1bb0f0fee0eb84082693654979c90b8f67b4245b
parent8552fa3ab854f23f81253ff5de529e22ad2e8286
start: Avoid infinite loop when BOOTDEVICE is defined

When BOOTDEVICE is defined get_root_dev() was always returning
the same device entering in an infinite loop with the only
effect of scroll out all the previous messages.
Kernel/start.c