diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-04-12 19:12:01 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-04-28 22:23:07 -0700 |
commit | 6060df84cbe0d36b8e1415b68e3f67b77f27052a (patch) | |
tree | 4be162a9c983c9223fac27dc4824dd3666443245 /arch/arm/kvm/guest.c | |
parent | 372b7c1bc80510225ca91cba75bc0850a6e16c39 (diff) | |
download | blackbird-op-linux-6060df84cbe0d36b8e1415b68e3f67b77f27052a.tar.gz blackbird-op-linux-6060df84cbe0d36b8e1415b68e3f67b77f27052a.zip |
ARM: KVM: simplify HYP mapping population
The way we populate HYP mappings is a bit convoluted, to say the least.
Passing a pointer around to keep track of the current PFN is quite
odd, and we end-up having two different PTE accessors for no good
reason.
Simplify the whole thing by unifying the two PTE accessors, passing
a pgprot_t around, and moving the various validity checks to the
upper layers.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kvm/guest.c')
0 files changed, 0 insertions, 0 deletions