]> 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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:32 +0000 (03:43 -0800)
commitf4ec7baf6d1778f17af96bb317165fc9e322c7c6
tree2048352dbc11f41ec597b4cd01fd16c701c17684
parente301a72754b5f62458e190faf26f5b26652e5b60
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>
(cherry picked from commit 05ecc0cc5c59922acfd65c68f202e2bfe3836637)
arch/arm/include/asm/xen/page.h