]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen/hvc: allow xenboot console to be used again
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 1 Oct 2013 18:00:49 +0000 (19:00 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 2 Oct 2013 16:53:28 +0000 (12:53 -0400)
commitfd096482bc6ca717ccd54ff786a636164eadfa8c
tree8009c15fb6ab94120171ecc794138727e6df30a7
parent2b2b614dd24e4e6474fcf2dcf69c95c908838959
xen/hvc: allow xenboot console to be used again

Commit d0380e6c3c0f6edb986d8798a23acfaf33d5df23 (early_printk:
consolidate random copies of identical code) added in 3.10 introduced
a check for con->index == -1 in early_console_register().

Initialize index to -1 for the xenboot console so earlyprintk=xen
works again.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/tty/hvc/hvc_xen.c