]> git.karo-electronics.de Git - karo-tx-linux.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Oct 2012 14:11:37 +0000 (10:11 -0400)
commit27c40b6f920a7fa063ab6c473fe838b034f16f39
tree538f73465bb49c3ca327d22c73958ed2527a0d7c
parent38ba871352a6eeec0a95de217f6420cc13c80bad
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