From: Julien Grall Date: Fri, 7 Aug 2015 16:34:34 +0000 (+0100) Subject: arm/xen: Remove helpers which are PV specific X-Git-Tag: omap-for-v4.3/fixes-rc1~72^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=724afaea2020f3bd98891b535f3ce5d3935bcf63;p=pandora-kernel.git 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 Acked-by: Stefano Stabellini Signed-off-by: David Vrabel --- Reading git-diff-tree failed