ARM: KVM: Fix length of mmio access
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Mar 2013 02:43:23 +0000 (02:43 +0000)
committerChristoffer Dall <cdall@cs.columbia.edu>
Thu, 7 Mar 2013 00:01:51 +0000 (16:01 -0800)
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>

No differences found