diff options
| -rw-r--r-- | arch/x86/include/asm/xen/hypercall.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/include/asm/xen/hypercall.h b/arch/x86/include/asm/xen/hypercall.h index d240ea950519..0c9894e0ebfb 100644 --- a/arch/x86/include/asm/xen/hypercall.h +++ b/arch/x86/include/asm/xen/hypercall.h | |||
| @@ -45,6 +45,7 @@ | |||
| 45 | #include <xen/interface/xen.h> | 45 | #include <xen/interface/xen.h> |
| 46 | #include <xen/interface/sched.h> | 46 | #include <xen/interface/sched.h> |
| 47 | #include <xen/interface/physdev.h> | 47 | #include <xen/interface/physdev.h> |
| 48 | #include <xen/interface/platform.h> | ||
| 48 | 49 | ||
| 49 | /* | 50 | /* |
| 50 | * The hypercall asms have to meet several constraints: | 51 | * The hypercall asms have to meet several constraints: |
| @@ -299,6 +300,13 @@ HYPERVISOR_set_timer_op(u64 timeout) | |||
| 299 | } | 300 | } |
| 300 | 301 | ||
| 301 | static inline int | 302 | static inline int |
| 303 | HYPERVISOR_dom0_op(struct xen_platform_op *platform_op) | ||
| 304 | { | ||
| 305 | platform_op->interface_version = XENPF_INTERFACE_VERSION; | ||
| 306 | return _hypercall1(int, dom0_op, platform_op); | ||
| 307 | } | ||
| 308 | |||
| 309 | static inline int | ||
| 302 | HYPERVISOR_set_debugreg(int reg, unsigned long value) | 310 | HYPERVISOR_set_debugreg(int reg, unsigned long value) |
| 303 | { | 311 | { |
| 304 | return _hypercall2(int, set_debugreg, reg, value); | 312 | return _hypercall2(int, set_debugreg, reg, value); |
