ARM: KVM: sanitize freeing of HYP page tables
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Mar 2013 02:43:17 +0000 (02:43 +0000)
committerChristoffer Dall <cdall@cs.columbia.edu>
Wed, 6 Mar 2013 23:59:20 +0000 (15:59 -0800)
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>

No differences found