diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2014-06-12 18:30:01 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 13:57:38 +0200 |
commit | 64054c25cf7e060cd6780744fefe7ed3990e4f21 (patch) | |
tree | 90cb733124a81f393f6caab5209d91b64ccba0e1 /arch/arm/kvm/coproc.c | |
parent | ARM: virt: fix wrong HSCTLR.EE bit setting (diff) | |
download | linux-64054c25cf7e060cd6780744fefe7ed3990e4f21.tar.xz linux-64054c25cf7e060cd6780744fefe7ed3990e4f21.zip |
ARM: KVM: fix vgic V7 assembler code to work in BE image
The vgic h/w registers are little endian; when BE asm code
reads/writes from/to them, it needs to do byteswap after/before.
Byteswap code uses ARM_BE8 wrapper to add swap only if
CONFIG_CPU_BIG_ENDIAN is configured.
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/coproc.c')
0 files changed, 0 insertions, 0 deletions