]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae86b61ac23b3c0a0f88633cfb82356407c438b6
tree3b32e9891ec0b133e676c4cc5cf9617499310725
parent6a7b26fd47fc6c71b932678d4737c8d33d2d936d
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