[PATCH] Dynamic kernel command-line: powerpc
[linux-drm-fsl-dcu.git] / arch / powerpc / kernel / legacy_serial.c
index 5e6ddfa474c0c72e0797e942d4939559fd01fe79..89f46f377922aca7ad8b8ad42ee3989f61ae91b0 100644 (file)
@@ -498,7 +498,7 @@ static int __init check_legacy_serial_console(void)
        DBG(" -> check_legacy_serial_console()\n");
 
        /* The user has requested a console so this is already set up. */
-       if (strstr(saved_command_line, "console=")) {
+       if (strstr(boot_command_line, "console=")) {
                DBG(" console was specified !\n");
                return -EBUSY;
        }