]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 23:12:58 +0000 (16:12 -0700)
commit9d502be97e570598cc2e58770aa5aba7e2b0a8fb
treed5dd3374bfeb609fcb4cb7a4e062c21272c316fd
parent2524cc787e0f817025d6f6041305c16faf72a660
xen/hvc: allow xenboot console to be used again

Commit bfd0f74cb3328ac4081f47ea469e067af76970ba (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_xen.c