Skip to content

Commit

Permalink
[PATCH] x86_64: fix 'earlyprintk=...,keep' regression
Browse files Browse the repository at this point in the history
Commit 2c8c0e6 ("[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>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Nov 28, 2006
1 parent 2ea5814 commit 24d7bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 24d7bb3

Please sign in to comment.