From: Marc Zyngier Date: Fri, 12 Apr 2013 18:12:01 +0000 (+0100) Subject: ARM: KVM: simplify HYP mapping population X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~1^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6060df84cbe0d36b8e1415b68e3f67b77f27052a;p=pandora-kernel.git 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 Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed