diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-03-05 02:43:23 +0000 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-06 16:01:51 -0800 |
commit | f42798c6898bf1e536673e798d263e492355162f (patch) | |
tree | f70352f51956a3309954d91681080eab775dc120 /arch/arm/include/asm/glue-proc.h | |
parent | 000d399625b4b302935508f2fc9ce93ff1bd1ba4 (diff) | |
download | blackbird-op-linux-f42798c6898bf1e536673e798d263e492355162f.tar.gz blackbird-op-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/include/asm/glue-proc.h')
0 files changed, 0 insertions, 0 deletions