]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
x86: provide stub for arch_do_multicall_call
authorWei Liu <wei.liu2@citrix.com>
Thu, 4 Oct 2018 15:43:25 +0000 (16:43 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 15 Oct 2018 14:32:42 +0000 (15:32 +0100)
This hypercall is PV only on x86. Provide a stub for it when
!CONFIG_PV.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hypercall.c

index 74bde5e958c3c14bc176fd06caf19e56649aca07..032de8f8f8f259cf9b42b076ad9f4689dab7f7ac 100644 (file)
@@ -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