summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/vgic/vgic-init.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2021-04-05 18:39:38 +0200
committerMarc Zyngier <maz@kernel.org>2021-04-06 14:51:38 +0100
commitda3853097679022e14a2d125983f11a67fd2f96a (patch)
tree85ecadc19feec8380e5d5d9252403a044fcd644c /arch/arm64/kvm/vgic/vgic-init.c
parent298c41b8fa1e02c5a35e2263d138583220ab6094 (diff)
KVM: arm64: Simplify argument passing to vgic_uaccess_[read|write]
vgic_uaccess() takes a struct vgic_io_device argument, converts it to a struct kvm_io_device and passes it to the read/write accessor functions, which convert it back to a struct vgic_io_device. Avoid the indirection by passing the struct vgic_io_device argument directly to vgic_uaccess_{read,write}. Signed-off-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210405163941.510258-7-eric.auger@redhat.com
Diffstat (limited to 'arch/arm64/kvm/vgic/vgic-init.c')
0 files changed, 0 insertions, 0 deletions