From: Christoffer Dall Date: Fri, 9 May 2014 21:31:31 +0000 (+0200) Subject: arm/arm64: KVM: Fix and refactor unmap_range X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~11^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f853a714bf16338ff5261128e6c7ae2569e9505;p=pandora-kernel.git arm/arm64: KVM: Fix and refactor unmap_range unmap_range() was utterly broken, to quote Marc, and broke in all sorts of situations. It was also quite complicated to follow and didn't follow the usual scheme of having a separate iterating function for each level of page tables. Address this by refactoring the code and introduce a pgd_clear() function. Reviewed-by: Jungseok Lee Reviewed-by: Mario Smarduch Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed