ARM: KVM: use phys_addr_t instead of unsigned long long for HYP PGDs
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 14 May 2013 11:11:37 +0000 (12:11 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 26 Jun 2013 17:50:03 +0000 (10:50 -0700)
commitdac288f7b38a7439502b77dabcdf8a9a5c4ae721
tree16fceb85ae06b082cd20a1a68044dc94c0826e9e
parent368074d908b785588778f00b4384376cd636f4a1
ARM: KVM: use phys_addr_t instead of unsigned long long for HYP PGDs

HYP PGDs are passed around as phys_addr_t, except just before calling
into the hypervisor init code, where they are cast to a rather weird
unsigned long long.

Just keep them around as phys_addr_t, which is what makes the most
sense.

Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/arm.c