From: Marc Zyngier Date: Tue, 5 Mar 2013 02:43:17 +0000 (+0000) Subject: ARM: KVM: sanitize freeing of HYP page tables X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=000d399625b4b302935508f2fc9ce93ff1bd1ba4;p=pandora-kernel.git 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 Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed