summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-09 08:38:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-09 08:38:58 +0100
commitbb3a151dd42765acc8f469ff994de3ab31f15a95 (patch)
tree87cd7da605aacb88aae36f4e69f255537e78e8fa /arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
parent1f836f5b10f2524d33efde47d2b694b861ecf319 (diff)
parent2c523b344dfa65a3738e7039832044aa133c75fb (diff)
downloadlinux-bb3a151dd42765acc8f469ff994de3ab31f15a95.tar.gz
linux-bb3a151dd42765acc8f469ff994de3ab31f15a95.tar.bz2
linux-bb3a151dd42765acc8f469ff994de3ab31f15a95.zip
Merge 5.6-rc5 into char-misc-next
We need the binder and other fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c')
-rw-r--r--arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c b/arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
index 29ee1feba4eb..4f3a087e36d5 100644
--- a/arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
+++ b/arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
@@ -69,14 +69,14 @@ int __hyp_text __vgic_v2_perform_cpuif_access(struct kvm_vcpu *vcpu)
u32 data = vcpu_get_reg(vcpu, rd);
if (__is_be(vcpu)) {
/* guest pre-swabbed data, undo this for writel() */
- data = swab32(data);
+ data = __kvm_swab32(data);
}
writel_relaxed(data, addr);
} else {
u32 data = readl_relaxed(addr);
if (__is_be(vcpu)) {
/* guest expects swabbed data */
- data = swab32(data);
+ data = __kvm_swab32(data);
}
vcpu_set_reg(vcpu, rd, data);
}