From f3e3e7c69e674ae7ce818f77d95b770dca85f620 Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Fri, 23 Sep 2011 11:44:17 -0700 Subject: [PATCH] --- yaml --- r: 274730 b: refs/heads/master c: eec07a9ecf428a680d72dc7f2428ea8bed80b84d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/xen/hypercall.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ad61279deb30..d612fb36c664 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3e0996798a6a113efae9e0187c5581491bdb07a7 +refs/heads/master: eec07a9ecf428a680d72dc7f2428ea8bed80b84d diff --git a/trunk/arch/x86/include/asm/xen/hypercall.h b/trunk/arch/x86/include/asm/xen/hypercall.h index d240ea950519..0c9894e0ebfb 100644 --- a/trunk/arch/x86/include/asm/xen/hypercall.h +++ b/trunk/arch/x86/include/asm/xen/hypercall.h @@ -45,6 +45,7 @@ #include #include #include +#include /* * The hypercall asms have to meet several constraints: @@ -298,6 +299,13 @@ HYPERVISOR_set_timer_op(u64 timeout) return _hypercall2(long, set_timer_op, timeout_lo, timeout_hi); } +static inline int +HYPERVISOR_dom0_op(struct xen_platform_op *platform_op) +{ + platform_op->interface_version = XENPF_INTERFACE_VERSION; + return _hypercall1(int, dom0_op, platform_op); +} + static inline int HYPERVISOR_set_debugreg(int reg, unsigned long value) {