xen: balloon: allow PVMMU interfaces to be compiled out
authorIan Campbell <ian.campbell@citrix.com>
Wed, 3 Oct 2012 11:17:50 +0000 (12:17 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 29 Nov 2012 12:59:13 +0000 (12:59 +0000)
commitc2374bf57e7861039bb129ead538515502ef7860
tree3b32e9891ec0b133e676c4cc5cf9617499310725
parentd71f513985c22f1050295d1a7e4327cf9fb060da
xen: balloon: allow PVMMU interfaces to be compiled out

The ARM platform has no concept of PVMMU and therefor no
HYPERVISOR_update_va_mapping et al. Allow this code to be compiled out
when not required.

In some similar situations (e.g. P2M) we have defined dummy functions
to avoid this, however I think we can/should draw the line at dummying
out actual hypercalls.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/Kconfig
drivers/xen/Kconfig
drivers/xen/balloon.c