]> git.baikalelectronics.ru Git - kernel.git/commit
virtio/s390: get rid of open-coded kvm hypercall
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 21 Jun 2021 14:45:22 +0000 (16:45 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 28 Jun 2021 09:18:28 +0000 (11:18 +0200)
commit630b1b8d7503dae410587cdfaca10a122ff34fa5
tree7797ae7b407c11405e8ab01d4bf59b66b0e0308c
parent9edac52fac6213b3e34568772f6f23005c8edc9a
virtio/s390: get rid of open-coded kvm hypercall

do_kvm_notify() and __do_kvm_notify() are an (exact) open-coded variant
of kvm_hypercall3(). Therefore simply make use of kvm_hypercall3(),
and get rid of duplicated code.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Link: https://lore.kernel.org/r/20210621144522.1304273-1-hca@linux.ibm.com
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/virtio/virtio_ccw.c