From: Marc Zyngier Date: Tue, 5 Mar 2013 02:43:23 +0000 (+0000) Subject: ARM: KVM: Fix length of mmio access X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f42798c6898bf1e536673e798d263e492355162f;p=pandora-kernel.git 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 Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed