summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-03-05 03:43:23 +0100
committerChristoffer Dall <cdall@cs.columbia.edu>2013-03-07 01:01:51 +0100
commitf42798c6898bf1e536673e798d263e492355162f (patch)
treef70352f51956a3309954d91681080eab775dc120 /arch/arm/kernel/asm-offsets.c
parentARM: KVM: sanitize freeing of HYP page tables (diff)
downloadlinux-f42798c6898bf1e536673e798d263e492355162f.tar.xz
linux-f42798c6898bf1e536673e798d263e492355162f.zip
ARM: KVM: Fix length of mmio access
Instead of hardcoding the maximum MMIO access to be 4 bytes, compare it to sizeof(unsigned long), which will do the right thing on both 32 and 64bit systems. Same thing for sign extention. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions