hvc_vio: Do not override preferred console set by kernel parameter
authorBen Hutchings <ben@decadent.org.uk>
Sun, 1 Sep 2013 16:24:16 +0000 (17:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 22:56:15 +0000 (15:56 -0700)
commit1926d0aeecf0280c67bf7464b2d68fe4e92c566b
treef2a747640f8ed7861357117e830c7f8616f5add0
parent216fce2e78acd6558b6c16b28295ed7a639dd2c9
hvc_vio: Do not override preferred console set by kernel parameter

The original version of this was done by Bastian Blank, who wrote:

> The problem is the following:
> - Architecture specific code sets preferred console to something bogus.
> - Command line handling tries to set preferred console but is overruled
>   by the old setting.
>
> The udbg0 console is a boot console and independant.

References: http://bugs.debian.org/492703
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_vio.c