# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# 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 <[EMAIL PROTECTED]>
---
 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@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to