From c29b47e20f398eaf3c57b6b5c644d2b83423e1e1 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Tue, 8 Jul 2008 15:07:04 -0700 Subject: [PATCH] --- yaml --- r: 104436 b: refs/heads/master c: 45eb0d889862c813dfc98c95549c25acbfc99ab8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-x86/xen/hypercall.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e43d8b2b52a5..4cbb595b76c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0725cbb97793d4e65bf148e4872959cdbb8c6ddd +refs/heads/master: 45eb0d889862c813dfc98c95549c25acbfc99ab8 diff --git a/trunk/include/asm-x86/xen/hypercall.h b/trunk/include/asm-x86/xen/hypercall.h index 25366641f3f8..d9e4cf7b23ac 100644 --- a/trunk/include/asm-x86/xen/hypercall.h +++ b/trunk/include/asm-x86/xen/hypercall.h @@ -388,6 +388,14 @@ HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args) return _hypercall3(int, vcpu_op, cmd, vcpuid, extra_args); } +#ifdef CONFIG_X86_64 +static inline int +HYPERVISOR_set_segment_base(int reg, unsigned long value) +{ + return _hypercall2(int, set_segment_base, reg, value); +} +#endif + static inline int HYPERVISOR_suspend(unsigned long srec) {