ia64/xen-unstable

changeset 18718:d1ecee02cced

x86: Dom0 builder doesn't need to disable IRQs while running on dom0 pagetables.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Oct 23 15:38:27 2008 +0100 (2008-10-23)
parents 164985e3a46e
children 874d0d673ecb
files xen/arch/x86/domain_build.c
line diff
     1.1 --- a/xen/arch/x86/domain_build.c	Thu Oct 23 15:34:27 2008 +0100
     1.2 +++ b/xen/arch/x86/domain_build.c	Thu Oct 23 15:38:27 2008 +0100
     1.3 @@ -203,7 +203,6 @@ static void dom0_pt_enter(struct vcpu *v
     1.4      };
     1.5  
     1.6      asm volatile ( "lgdt %0" : : "m" (gdt_desc) );
     1.7 -    local_irq_disable();
     1.8      write_ptbase(v);
     1.9  }
    1.10  
    1.11 @@ -216,7 +215,6 @@ static void dom0_pt_exit(void)
    1.12      };
    1.13  
    1.14      write_ptbase(current);
    1.15 -    local_irq_enable();
    1.16      asm volatile ( "lgdt %0" : : "m" (gdt_desc) );
    1.17  }
    1.18