diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-03-05 02:43:17 +0000 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-06 15:59:20 -0800 |
commit | 000d399625b4b302935508f2fc9ce93ff1bd1ba4 (patch) | |
tree | f1df1043a1250219f1215bd4c9f7ae03d7fef576 /arch/arm/kvm/interrupts.S | |
parent | 6190920a35068a621570cca7f07f3c4477615176 (diff) |
ARM: KVM: sanitize freeing of HYP page tables
Instead of trying to free everything from PAGE_OFFSET to the
top of memory, use the virt_addr_valid macro to check the
upper limit.
Also do the same for the vmalloc region where the IO mappings
are allocated.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kvm/interrupts.S')
0 files changed, 0 insertions, 0 deletions