direct-io.hg

changeset 12518:899fb1b891a9

[XEN] Fix the build.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Nov 22 13:27:52 2006 +0000 (2006-11-22)
parents 40a61d01e9dc
children f15b6cbb654b
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Wed Nov 22 11:52:46 2006 +0000
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Wed Nov 22 13:27:52 2006 +0000
     1.3 @@ -508,16 +508,16 @@ static unsigned long vmx_get_segment_bas
     1.4      BUG_ON(v != current);
     1.5      switch ( seg )
     1.6      {
     1.7 -    case seg_cs: __vmread(GUEST_CS_BASE, &base); break;
     1.8 -    case seg_ds: __vmread(GUEST_DS_BASE, &base); break;
     1.9 -    case seg_es: __vmread(GUEST_ES_BASE, &base); break;
    1.10 -    case seg_fs: __vmread(GUEST_FS_BASE, &base); break;
    1.11 -    case seg_gs: __vmread(GUEST_GS_BASE, &base); break;
    1.12 -    case seg_ss: __vmread(GUEST_SS_BASE, &base); break;
    1.13 -    case seg_tr: __vmread(GUEST_TR_BASE, &base); break;
    1.14 -    case seg_gdtr: __vmread(GUEST_GDTR_BASE, &base); break;
    1.15 -    case seg_idtr: __vmread(GUEST_IDTR_BASE, &base); break;
    1.16 -    case seg_ldtr: __vmread(GUEST_LDTR_BASE, &base); break;
    1.17 +    case seg_cs: base = __vmread(GUEST_CS_BASE); break;
    1.18 +    case seg_ds: base = __vmread(GUEST_DS_BASE); break;
    1.19 +    case seg_es: base = __vmread(GUEST_ES_BASE); break;
    1.20 +    case seg_fs: base = __vmread(GUEST_FS_BASE); break;
    1.21 +    case seg_gs: base = __vmread(GUEST_GS_BASE); break;
    1.22 +    case seg_ss: base = __vmread(GUEST_SS_BASE); break;
    1.23 +    case seg_tr: base = __vmread(GUEST_TR_BASE); break;
    1.24 +    case seg_gdtr: base = __vmread(GUEST_GDTR_BASE); break;
    1.25 +    case seg_idtr: base = __vmread(GUEST_IDTR_BASE); break;
    1.26 +    case seg_ldtr: base = __vmread(GUEST_LDTR_BASE); break;
    1.27      default: BUG(); base = 0; break;
    1.28      }
    1.29      return base;