summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-03-05 02:43:17 +0000
committerChristoffer Dall <cdall@cs.columbia.edu>2013-03-06 15:59:20 -0800
commit000d399625b4b302935508f2fc9ce93ff1bd1ba4 (patch)
treef1df1043a1250219f1215bd4c9f7ae03d7fef576 /crypto
parent6190920a35068a621570cca7f07f3c4477615176 (diff)
downloadop-kernel-dev-000d399625b4b302935508f2fc9ce93ff1bd1ba4.zip
op-kernel-dev-000d399625b4b302935508f2fc9ce93ff1bd1ba4.tar.gz
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 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud