virtio/s390: keep early_put_chars
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 7 Jul 2016 15:07:56 +0000 (17:07 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Aug 2016 10:42:40 +0000 (13:42 +0300)
commit2ab0d56aadbcd120b8fa524b4a1142e8b06e13c8
treed5896899dda1815168377a20b73d9f63f931bb6e
parent347a529398e8e723338cca5d8a8ae2d9e7e93448
virtio/s390: keep early_put_chars

In case the registration of the hvc tty never happens AND the kernel
thinks that hvc0 is the preferred console we should keep the early
printk function to avoid a kernel panic due to code being removed.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jing Liu <liujbjl@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/virtio/kvm_virtio.c