]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm/xen: Remove helpers which are PV specific
authorJulien Grall <julien.grall@citrix.com>
Fri, 7 Aug 2015 16:34:34 +0000 (17:34 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:39:26 +0000 (14:39 -0500)
commit05ecc0cc5c59922acfd65c68f202e2bfe3836637
tree30b6d0426c28d6e516a8558818ebab0a8a35b23a
parent07cfc8aee7c0d8976bf945877f11f30755b18896
arm/xen: Remove helpers which are PV specific

ARM guests are always HVM. The current implementation is assuming a 1:1
mapping which is only true for DOM0 and may not be at all in the future.

Furthermore, all the helpers but arbitrary_virt_to_machine are used in
x86 specific code (or only compiled for).

The helper arbitrary_virt_to_machine is only used in PV specific code.
Therefore we should never call the function.

Add a BUG() in this helper and drop all the others.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 724afaea2020f3bd98891b535f3ce5d3935bcf63)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/arm/include/asm/xen/page.h