diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-05-09 23:31:31 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 04:46:51 -0700 |
commit | 4f853a714bf16338ff5261128e6c7ae2569e9505 (patch) | |
tree | 3726687645ce6cc69b732606ebf07ff89cea63e5 /arch/arm/kvm/arm.c | |
parent | 9f6226a762c7ae02f6a23a3d4fc552dafa57ea23 (diff) |
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 <jays.lee@samsung.com>
Reviewed-by: Mario Smarduch <m.smarduch@samsung.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions