]> 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>
Tue, 27 Nov 2012 01:11:11 +0000 (20:11 -0500)
commit3f2cb37bf321067afdc0578980ec6a0a36f19181
tree538f73465bb49c3ca327d22c73958ed2527a0d7c
parent3b1b3d7af2528f6932e67e0181acbdb30ad1bb9f
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