aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/head64.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-01-11 22:47:03 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 19:05:04 -0800
commit2a2d5924c249e0f73aa00d617f8d5e242ea1430d (patch)
tree2458187ff2b5eea03f269e15acf3532f351f8fcb /arch/x86_64/kernel/head64.c
parent[PATCH] i386: Move DOUBLEFAULT config to arch/i386/Kconfig (diff)
downloadlinux-dev-2a2d5924c249e0f73aa00d617f8d5e242ea1430d.tar.xz
linux-dev-2a2d5924c249e0f73aa00d617f8d5e242ea1430d.zip
[PATCH] i386/x86-64: make setup_early_printk() usage consistent
The explicit and implicit calls to setup_early_printk() were passing inconsistent arguments. Signed-Off-By: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/head64.c')
-rw-r--r--arch/x86_64/kernel/head64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/head64.c b/arch/x86_64/kernel/head64.c
index 2ea42ceb08f3..cea20a66c150 100644
--- a/arch/x86_64/kernel/head64.c
+++ b/arch/x86_64/kernel/head64.c
@@ -102,7 +102,7 @@ void __init x86_64_start_kernel(char * real_mode_data)
#endif
s = strstr(saved_command_line, "earlyprintk=");
if (s != NULL)
- setup_early_printk(s);
+ setup_early_printk(strchr(s, '=') + 1);
#ifdef CONFIG_NUMA
s = strstr(saved_command_line, "numa=");
if (s != NULL)