From 71718d3c73b63127e3ba44473a7e3c4be1322143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Date: Tue, 3 May 2016 08:05:14 +0000 Subject: [PATCH] xen/i386: enable the platform hypercall for i386 Not sure why the platform hypercall was disabled on i386, just enable it in order to fix compilation of the PV timer on i386. Sponsored by: Citrix Systems R&D --- sys/i386/include/xen/hypercall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/include/xen/hypercall.h b/sys/i386/include/xen/hypercall.h index 7e18f9ed1317..72a17fa5664a 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)