From: Victor Kamensky Date: Thu, 12 Jun 2014 16:30:01 +0000 (-0700) Subject: ARM: KVM: fix vgic V7 assembler code to work in BE image X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~11^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64054c25cf7e060cd6780744fefe7ed3990e4f21;p=pandora-kernel.git 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 Reviewed-by: Christoffer Dall Acked-by: Marc Zyngier Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed