diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
commit | cee87f9f44074302242968b88abe0a229b434986 (patch) | |
tree | eeddac4e6a2b577141c8d5c83d6b010d71f9fb9a /xen/include/asm-x86/ldt.h | |
parent | b8057a726d7f47b47f6c4ef97032aba93409c026 (diff) | |
download | xen-cee87f9f44074302242968b88abe0a229b434986.tar.gz xen-cee87f9f44074302242968b88abe0a229b434986.tar.bz2 xen-cee87f9f44074302242968b88abe0a229b434986.zip |
xen: More 'IS_COMPAT' cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/ldt.h')
-rw-r--r-- | xen/include/asm-x86/ldt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/ldt.h b/xen/include/asm-x86/ldt.h index 27f4750558..b9a769f534 100644 --- a/xen/include/asm-x86/ldt.h +++ b/xen/include/asm-x86/ldt.h @@ -17,7 +17,7 @@ static inline void load_LDT(struct vcpu *v) else { cpu = smp_processor_id(); - desc = (!IS_COMPAT(v->domain) ? gdt_table : compat_gdt_table) + desc = (!is_pv_32on64_vcpu(v) ? gdt_table : compat_gdt_table) + __LDT(cpu) - FIRST_RESERVED_GDT_ENTRY; _set_tssldt_desc(desc, LDT_VIRT_START(v), ents*8-1, 2); __asm__ __volatile__ ( "lldt %%ax" : : "a" (__LDT(cpu)<<3) ); |