summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-13 17:57:13 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-08-25 12:03:35 +0300
commit0d6d75d2a2c341ce99f0549fa28bee93fa56505d (patch)
tree0068cfa2f46f2230a2385b10f4e934e1ecedf752 /drivers/s390
parent70aa5d39826528e77f5595a5f9297d919112d396 (diff)
downloadlinux-0d6d75d2a2c341ce99f0549fa28bee93fa56505d.tar.xz
KVM: s390: generate kvm hypercall functions
Generate kvm hypercall functions with a macro instead of duplicating the more or less identical code seven times. This also reduces number of lines of code. However the main purpose is to get rid of as many as possible open coded error prone register asm constructs in s390 architecture code. For the only user of kvm_hypercall identical code is created before/after this patch (drivers/s390/virtio/virtio_ccw.c). Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Link: https://lore.kernel.org/r/20210713145713.2815167-1-hca@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions