summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/xen/hypercall.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/xen/hypercall.h')
-rw-r--r--sys/i386/include/xen/hypercall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/include/xen/hypercall.h b/sys/i386/include/xen/hypercall.h
index 2631a9b..edc13f4 100644
--- a/sys/i386/include/xen/hypercall.h
+++ b/sys/i386/include/xen/hypercall.h
@@ -234,9 +234,14 @@ HYPERVISOR_memory_op(
return _hypercall2(int, memory_op, cmd, arg);
}
+#if defined(XEN)
int HYPERVISOR_multicall(multicall_entry_t *, int);
static inline int
_HYPERVISOR_multicall(
+#else /* XENHVM */
+static inline int
+HYPERVISOR_multicall(
+#endif
void *call_list, int nr_calls)
{
return _hypercall2(int, multicall, call_list, nr_calls);
OpenPOWER on IntegriCloud