aboutsummaryrefslogtreecommitdiff
path: root/include/hw/xen/xen_native.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/xen/xen_native.h')
-rw-r--r--include/hw/xen/xen_native.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/xen/xen_native.h b/include/hw/xen/xen_native.h
index 5d2718261f..6f09c48823 100644
--- a/include/hw/xen/xen_native.h
+++ b/include/hw/xen/xen_native.h
@@ -523,12 +523,12 @@ static inline int xen_set_ioreq_server_state(domid_t dom,
enable);
}
-#if CONFIG_XEN_CTRL_INTERFACE_VERSION <= 41500
+#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 41500
static inline int xendevicemodel_set_irq_level(xendevicemodel_handle *dmod,
domid_t domid, uint32_t irq,
unsigned int level)
{
- return 0;
+ return -1;
}
#endif