diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-05-10 01:31:31 +0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-30 12:15:07 +0300 |
commit | 9586ed38bdd7f4ab157ffd5abc2d396b966eef78 (patch) | |
tree | ac827c72c491be11f5cf87b7acd40e4eab259086 /arch/arm/mach-realview/Makefile.boot | |
parent | 4244260371d136600ba026fcba0da82d9386d352 (diff) | |
download | linux-9586ed38bdd7f4ab157ffd5abc2d396b966eef78.tar.xz |
arm/arm64: KVM: Fix and refactor unmap_range
commit 4f853a714bf16338ff5261128e6c7ae2569e9505 upstream.
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>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/arm/mach-realview/Makefile.boot')
0 files changed, 0 insertions, 0 deletions