direct-io.hg

changeset 11948:a3a079af0e92

[IA64] avoid long time interrupt masking.

flush_vtlb_fro_context_switch() can be executed with interrupt enabled.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Mon Oct 02 21:32:46 2006 -0600 (2006-10-02)
parents 64290e7622d2
children 3f28ffed6fff
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Mon Oct 02 21:30:51 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Mon Oct 02 21:32:46 2006 -0600
     1.3 @@ -190,8 +190,8 @@ void context_switch(struct vcpu *prev, s
     1.4  		__ia64_per_cpu_var(current_psr_ic_addr) = NULL;
     1.5          }
     1.6      }
     1.7 +    local_irq_restore(spsr);
     1.8      flush_vtlb_for_context_switch(current);
     1.9 -    local_irq_restore(spsr);
    1.10      context_saved(prev);
    1.11  }
    1.12