X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fxen%2Fhypercall.h;h=0c9894e0ebfb599980efd3a71a64e417ff2aedc5;hp=d240ea950519343231514be75f4e6a6cea15dd8f;hb=eec07a9ecf428a680d72dc7f2428ea8bed80b84d;hpb=426048313dfa7d65dbd2379b1665755511f9544f 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 @@ #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) {