aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/xen/hypercall.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2011-01-04 14:49:54 +0000
committerRobert Watson <rwatson@FreeBSD.org>2011-01-04 14:49:54 +0000
commit2913e88c916065ad8dab9076229b62140b830ead (patch)
treee0d5d75c0d8583fa305bc8fca00f7523da80fddf /sys/i386/include/xen/hypercall.h
parent641c6c5c1a4bac44d6e5f0828991e79db26fce88 (diff)
Notes
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 2631a9b58e6f6..edc13f4e6f517 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);