Commit 98f9485a authored by Linus Torvalds's avatar Linus Torvalds

x86-64: don't crash and loop when the user passes an unknown earlyprintk= option.

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3abf629a
......@@ -198,9 +198,6 @@ int __init setup_early_printk(char *opt)
early_console = &early_serial_console;
} else if (!strncmp(buf, "vga", 3)) {
early_console = &early_vga_console;
} else {
early_console = NULL;
return -1;
}
early_console_initialized = 1;
register_console(early_console);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment