|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ppc-devel
[XenPPC] [xenppc-unstable] [XEN][POWERPC] An OK spot to flush the	I-Cach
 
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID d1f6d0f820d890ac6075f47ad1ba6e38012167b4
# Parent  6e451ba8bc03bd6c363058447e70643210b7011b
[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@xxxxxxxxxxxxxx>
---
 xen/arch/powerpc/domain.c |    1 +
 1 files changed, 1 insertion(+)
diff -r 6e451ba8bc03 -r d1f6d0f820d8 xen/arch/powerpc/domain.c
--- a/xen/arch/powerpc/domain.c Mon Oct 02 21:40:26 2006 -0400
+++ b/xen/arch/powerpc/domain.c Mon Oct 02 21:43:09 2006 -0400
@@ -230,6 +230,7 @@ void context_switch(struct vcpu *prev, s
 
     mtsdr1(next->domain->arch.htab.sdr1);
     local_flush_tlb(); /* XXX maybe flush_tlb_mask? */
+    cpu_flush_icache();
 
     if (is_idle_vcpu(next)) {
         reset_stack_and_jump(idle_loop);
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [XenPPC] [xenppc-unstable] [XEN][POWERPC] An OK spot to flush the	I-Cache,
Xen patchbot-xenppc-unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |