[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Fix the build.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 899fb1b891a9b20e1aa2a0de16a03bf1bf435ee6
# Parent  40a61d01e9dc8281fbef205d19bf7306714cc3c1
[XEN] Fix the build.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff -r 40a61d01e9dc -r 899fb1b891a9 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Wed Nov 22 11:52:46 2006 +0000
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed Nov 22 13:27:52 2006 +0000
@@ -508,16 +508,16 @@ static unsigned long vmx_get_segment_bas
     BUG_ON(v != current);
     switch ( seg )
     {
-    case seg_cs: __vmread(GUEST_CS_BASE, &base); break;
-    case seg_ds: __vmread(GUEST_DS_BASE, &base); break;
-    case seg_es: __vmread(GUEST_ES_BASE, &base); break;
-    case seg_fs: __vmread(GUEST_FS_BASE, &base); break;
-    case seg_gs: __vmread(GUEST_GS_BASE, &base); break;
-    case seg_ss: __vmread(GUEST_SS_BASE, &base); break;
-    case seg_tr: __vmread(GUEST_TR_BASE, &base); break;
-    case seg_gdtr: __vmread(GUEST_GDTR_BASE, &base); break;
-    case seg_idtr: __vmread(GUEST_IDTR_BASE, &base); break;
-    case seg_ldtr: __vmread(GUEST_LDTR_BASE, &base); break;
+    case seg_cs: base = __vmread(GUEST_CS_BASE); break;
+    case seg_ds: base = __vmread(GUEST_DS_BASE); break;
+    case seg_es: base = __vmread(GUEST_ES_BASE); break;
+    case seg_fs: base = __vmread(GUEST_FS_BASE); break;
+    case seg_gs: base = __vmread(GUEST_GS_BASE); break;
+    case seg_ss: base = __vmread(GUEST_SS_BASE); break;
+    case seg_tr: base = __vmread(GUEST_TR_BASE); break;
+    case seg_gdtr: base = __vmread(GUEST_GDTR_BASE); break;
+    case seg_idtr: base = __vmread(GUEST_IDTR_BASE); break;
+    case seg_ldtr: base = __vmread(GUEST_LDTR_BASE); break;
     default: BUG(); base = 0; break;
     }
     return base;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.