diff options
Diffstat (limited to 'xen/arch/x86/x86_32/seg_fixup.c')
-rw-r--r-- | xen/arch/x86/x86_32/seg_fixup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/x86_32/seg_fixup.c b/xen/arch/x86/x86_32/seg_fixup.c index b15eb9c3f6..9931825f60 100644 --- a/xen/arch/x86/x86_32/seg_fixup.c +++ b/xen/arch/x86/x86_32/seg_fixup.c @@ -108,7 +108,7 @@ static unsigned char insn_decode[256] = { */ int get_baselimit(u16 seg, unsigned long *base, unsigned long *limit) { - struct exec_domain *d = current; + struct vcpu *d = current; unsigned long *table, a, b; int ldt = !!(seg & 4); int idx = (seg >> 3) & 8191; @@ -174,7 +174,7 @@ int linearise_address(u16 seg, unsigned long off, unsigned long *linear) int fixup_seg(u16 seg, unsigned long offset) { - struct exec_domain *d = current; + struct vcpu *d = current; unsigned long *table, a, b, base, limit; int ldt = !!(seg & 4); int idx = (seg >> 3) & 8191; @@ -267,7 +267,7 @@ int fixup_seg(u16 seg, unsigned long offset) */ int gpf_emulate_4gb(struct cpu_user_regs *regs) { - struct exec_domain *d = current; + struct vcpu *d = current; trap_info_t *ti; struct trap_bounce *tb; u8 modrm, mod, reg, rm, decode; |