@@ -6,6 +6,7 @@
#include <xen/types.h>
#include <xen/multicall.h>
#include <xen/trace.h>
+#include <xen/hypercall.h>
#define COMPAT
typedef int ret_t;
@@ -18,7 +19,6 @@ static inline void xlat_multicall_entry(struct mc_state *mcs)
mcs->compat_call.args[i] = mcs->call.args[i];
}
-DEFINE_XEN_GUEST_HANDLE(multicall_entry_compat_t);
#define multicall_entry compat_multicall_entry
#define multicall_entry_t multicall_entry_compat_t
#define do_multicall_call compat_multicall_call
@@ -6,9 +6,7 @@
#include <xen/types.h>
#include <xen/lib.h>
#include <xen/mm.h>
-#ifndef COMPAT
#include <xen/hypercall.h>
-#endif
#include <xen/sched.h>
#include <xen/event.h>
#include <xen/multicall.h>
@@ -176,6 +176,11 @@ compat_set_timer_op(
u32 lo,
s32 hi);
+DEFINE_XEN_GUEST_HANDLE(multicall_entry_compat_t);
+extern int
+compat_multicall(XEN_GUEST_HANDLE(multicall_entry_compat_t) call_list,
+ unsigned int nr_calls);
+
#endif
void arch_get_xen_caps(xen_capabilities_info_t *info);