diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-08-07 17:34:34 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 12:25:27 +0100 |
commit | 724afaea2020f3bd98891b535f3ce5d3935bcf63 (patch) | |
tree | 83a6d7dcfd8e3b5ab76c46a70148835e8840c12c /lib/devres.c | |
parent | 3375d8284dfb7866f261ec008d15d30999ff273b (diff) | |
download | op-kernel-dev-724afaea2020f3bd98891b535f3ce5d3935bcf63.zip op-kernel-dev-724afaea2020f3bd98891b535f3ce5d3935bcf63.tar.gz |
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>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions