[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061128081405.GA9031@elte.hu>
Date: Tue, 28 Nov 2006 09:14:05 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>,
Andi Kleen <ak@...e.de>
Subject: [patch] x86_64: fix earlyprintk=...,keep regression
Subject: [patch] x86_64: fix earlyprintk=...,keep regression
From: Ingo Molnar <mingo@...e.hu>
the following cleanup patch:
commit 2c8c0e6b8d7700a990da8d24eff767f9ca223b96
Author: Andi Kleen <ak@...e.de>
Date: Tue Sep 26 10:52:32 2006 +0200
[PATCH] Convert x86-64 to early param
Instead of hackish manual parsing
broke the earlyprintk=...,keep feature. This patch restores that
functionality. Tested on x86_64. Must-have for v2.6.19, no risk.
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/x86_64/kernel/early_printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/x86_64/kernel/early_printk.c
===================================================================
--- linux.orig/arch/x86_64/kernel/early_printk.c
+++ linux/arch/x86_64/kernel/early_printk.c
@@ -224,7 +224,7 @@ static int __init setup_early_printk(cha
return 0;
early_console_initialized = 1;
- if (!strcmp(buf,"keep"))
+ if (strstr(buf, "keep"))
keep_early = 1;
if (!strncmp(buf, "serial", 6)) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists