Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Commit 2c8c0e6b8d7700a990da8d24eff767f9ca223b96 ("[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>

authored by

Ingo Molnar and committed by
Linus Torvalds
24d7bb33 2ea58144

+1 -1
+1 -1
arch/x86_64/kernel/early_printk.c
··· 224 224 return 0; 225 225 early_console_initialized = 1; 226 226 227 - if (!strcmp(buf,"keep")) 227 + if (strstr(buf, "keep")) 228 228 keep_early = 1; 229 229 230 230 if (!strncmp(buf, "serial", 6)) {