[PATCH] i386/x86-64: make setup_early_printk() usage consistent
[linux-2.6.git] / arch / x86_64 / kernel / head64.c
index 2ea42ce..cea20a6 100644 (file)
@@ -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)