Commit 24d7bb33 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds

[PATCH] x86_64: fix 'earlyprintk=...,keep' regression

Commit 2c8c0e6b ("[PATCH] Convert x86-64
to early param") broke the earlyprintk=...,keep feature.

This restores that functionality.  Tested on x86_64.  Must-have for
v2.6.19, no risk.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2ea58144
...@@ -224,7 +224,7 @@ static int __init setup_early_printk(char *buf) ...@@ -224,7 +224,7 @@ static int __init setup_early_printk(char *buf)
return 0; return 0;
early_console_initialized = 1; early_console_initialized = 1;
if (!strcmp(buf,"keep")) if (strstr(buf, "keep"))
keep_early = 1; keep_early = 1;
if (!strncmp(buf, "serial", 6)) { if (!strncmp(buf, "serial", 6)) {
......
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