direct-io.hg

changeset 12930:a0b47a11b52d

[XEN][POWERPC] An OK spot to flush the I-Cache
Its not the best, but it will do for now.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Mon Oct 02 21:43:09 2006 -0400 (2006-10-02)
parents 0379ac3367b2
children 8515e163f1df
files xen/arch/powerpc/domain.c
line diff
     1.1 --- a/xen/arch/powerpc/domain.c	Mon Oct 02 21:40:26 2006 -0400
     1.2 +++ b/xen/arch/powerpc/domain.c	Mon Oct 02 21:43:09 2006 -0400
     1.3 @@ -232,6 +232,7 @@ void context_switch(struct vcpu *prev, s
     1.4  
     1.5      mtsdr1(next->domain->arch.htab.sdr1);
     1.6      local_flush_tlb(); /* XXX maybe flush_tlb_mask? */
     1.7 +    cpu_flush_icache();
     1.8  
     1.9      if (is_idle_vcpu(next)) {
    1.10          reset_stack_and_jump(idle_loop);