]> xenbits.xensource.com Git - xen.git/commit
arm/mem_access: adjust check_and_get_page to not rely on current
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Fri, 9 Dec 2016 19:59:24 +0000 (12:59 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 30 Jan 2017 21:06:12 +0000 (13:06 -0800)
commit821b88f390ab8f64f2164ce03080a9197dcb7ebc
treea3bc79c85bed7350a86b5d0768896e34774767ab
parent5a77ccf609da289131bd1664ee20c17b1f9bb93c
arm/mem_access: adjust check_and_get_page to not rely on current

The only caller of this function is get_page_from_gva which already takes
a vcpu pointer as input. Pass this along to make the function in-line with
its intended use-case.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c