]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: KVM: get rid of S2_PGD_SIZE
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 14 May 2013 11:11:39 +0000 (12:11 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Tue, 28 May 2013 02:36:19 +0000 (19:36 -0700)
commitf0e14181f91f444573d8763db48c059163370457
tree0357189b7769a9d8a12d4ba4b3cfa3c69739201f
parent44156a9a57300d067ba178c765b1779a93602825
ARM: KVM: get rid of S2_PGD_SIZE

S2_PGD_SIZE defines the number of pages used by a stage-2 PGD
and is unused, except for a VM_BUG_ON check that missuses the
define.

As the check is very unlikely to ever triggered except in
circumstances where KVM is the least of our worries, just kill
both the define and the VM_BUG_ON check.

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_arm.h
arch/arm/kvm/mmu.c