ARM: KVM: convert GP registers from u32 to unsigned long
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 3 Oct 2012 10:17:02 +0000 (11:17 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Wed, 6 Mar 2013 23:48:42 +0000 (15:48 -0800)
commitdb730d8d623a0826f7fb6b74e890d3eb97a1b7a3
treef70fd526d947afd6c3d43fc36e4ededef78e9788
parent0b5e3bac30c545720f7e6b026241b5f8dd832df2
ARM: KVM: convert GP registers from u32 to unsigned long

On 32bit ARM, unsigned long is guaranteed to be a 32bit quantity.
On 64bit ARM, it is a 64bit quantity.

In order to be able to share code between the two architectures,
convert the registers to be unsigned long, so the core code can
be oblivious of the change.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_emulate.h
arch/arm/include/uapi/asm/kvm.h
arch/arm/kvm/coproc.c
arch/arm/kvm/coproc.h
arch/arm/kvm/emulate.c
arch/arm/kvm/mmio.c