1
0
Fork 0

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

Commit 2c8c0e6b8d ("[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: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Ingo Molnar 2006-11-28 09:14:05 +01:00 committed by Linus Torvalds
parent 2ea5814472
commit 24d7bb3396
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ static int __init setup_early_printk(char *buf)
return 0;
early_console_initialized = 1;
if (!strcmp(buf,"keep"))
if (strstr(buf, "keep"))
keep_early = 1;
if (!strncmp(buf, "serial", 6)) {