From d1b7c32e73ef71cf3f62a8bf9a48c2ed54b536f3 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 4 Oct 2018 16:43:25 +0100 Subject: [PATCH] x86: provide stub for arch_do_multicall_call This hypercall is PV only on x86. Provide a stub for it when !CONFIG_PV. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- xen/arch/x86/hypercall.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xen/arch/x86/hypercall.c b/xen/arch/x86/hypercall.c index 74bde5e958..032de8f8f8 100644 --- a/xen/arch/x86/hypercall.c +++ b/xen/arch/x86/hypercall.c @@ -248,6 +248,14 @@ int hypercall_xlat_continuation(unsigned int *id, unsigned int nr, return rc; } +#ifndef CONFIG_PV +/* Stub for arch_do_multicall_call */ +enum mc_disposition arch_do_multicall_call(struct mc_state *mc) +{ + return mc_exit; +} +#endif + /* * Local variables: * mode: C -- 2.30.2