aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/xen/hypercall.h
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2016-05-03 08:05:14 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2016-05-03 08:05:14 +0000
commit71718d3c73b63127e3ba44473a7e3c4be1322143 (patch)
tree039b0f8c04857f097ac9e461ede813b01f7068b4 /sys/i386/include/xen/hypercall.h
parentf8ce3dfaf15d0b16ef7cc235ee5c54d528a2de57 (diff)
Notes
Diffstat (limited to 'sys/i386/include/xen/hypercall.h')
-rw-r--r--sys/i386/include/xen/hypercall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/xen/hypercall.h b/sys/i386/include/xen/hypercall.h
index 7e18f9ed1317f..72a17fa5664a9 100644
--- a/sys/i386/include/xen/hypercall.h
+++ b/sys/i386/include/xen/hypercall.h
@@ -209,7 +209,7 @@ HYPERVISOR_set_timer_op(
unsigned long timeout_lo = (unsigned long)timeout;
return _hypercall2(long, set_timer_op, timeout_lo, timeout_hi);
}
-#if 0
+
static inline int
HYPERVISOR_platform_op(
struct xen_platform_op *platform_op)
@@ -217,7 +217,7 @@ HYPERVISOR_platform_op(
platform_op->interface_version = XENPF_INTERFACE_VERSION;
return _hypercall1(int, platform_op, platform_op);
}
-#endif
+
static inline int
HYPERVISOR_set_debugreg(
int reg, unsigned long value)