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/arch/x86/x86_64/traps.c | |
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/arch/x86/x86_64/traps.c')
-rw-r--r-- | xen/arch/x86/x86_64/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/x86_64/traps.c b/xen/arch/x86/x86_64/traps.c index 19b970b261..4fddba2758 100644 --- a/xen/arch/x86/x86_64/traps.c +++ b/xen/arch/x86/x86_64/traps.c @@ -179,7 +179,7 @@ asmlinkage void do_double_fault(struct cpu_user_regs *regs) void toggle_guest_mode(struct vcpu *v) { - if ( IS_COMPAT(v->domain) ) + if ( is_pv_32bit_vcpu(v) ) return; v->arch.flags ^= TF_kernel_mode; __asm__ __volatile__ ( "swapgs" ); @@ -534,7 +534,7 @@ void hypercall_page_initialise(struct domain *d, void *hypercall_page) { if ( is_hvm_domain(d) ) hvm_hypercall_page_initialise(d, hypercall_page); - else if ( !IS_COMPAT(d) ) + else if ( !is_pv_32bit_domain(d) ) hypercall_page_initialise_ring3_kernel(hypercall_page); else hypercall_page_initialise_ring1_kernel(hypercall_page); |