]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 <cdall@cs.columbia.edu>
Tue, 28 May 2013 02:36:09 +0000 (19:36 -0700)
commit3f803bdba48f4b8c459ae3980672a9fc8f10ab76
treea12977dabe5d1a869b0ad91ac245004b7dc3a012
parent8def353e0d66730c7455fa7a3add9d523fea2720
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