/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1118-2.6.25-xen-HYPERVISOR_set_segment_base-implementation.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1118-2.6.25-xen-HYPERVISOR_set_segment_base-implementation.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years, 4 months ago) by niro
File size: 964 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years, 4 months ago) by niro
File size: 964 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From 064529519ba4f2ce815184d146354835619e029a Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 23 Jan 2008 15:37:20 -0200 |
4 | Subject: [PATCH] Xen: HYPERVISOR_set_segment_base() implementation |
5 | |
6 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
7 | --- |
8 | include/asm-x86/xen/hypercall.h | 10 ++++++++++ |
9 | 1 files changed, 10 insertions(+), 0 deletions(-) |
10 | |
11 | diff --git a/include/asm-x86/xen/hypercall.h b/include/asm-x86/xen/hypercall.h |
12 | index 0588d6d..965b823 100644 |
13 | --- a/include/asm-x86/xen/hypercall.h |
14 | +++ b/include/asm-x86/xen/hypercall.h |
15 | @@ -400,6 +400,16 @@ HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args) |
16 | return _hypercall3(int, vcpu_op, cmd, vcpuid, extra_args); |
17 | } |
18 | |
19 | +#ifdef CONFIG_X86_64 |
20 | +static inline int |
21 | +HYPERVISOR_set_segment_base( |
22 | + int reg, unsigned long value) |
23 | +{ |
24 | + return _hypercall2(int, set_segment_base, reg, value); |
25 | +} |
26 | +#endif |
27 | + |
28 | + |
29 | static inline int |
30 | HYPERVISOR_suspend(unsigned long srec) |
31 | { |
32 | -- |
33 | 1.5.4.1 |
34 |