patch-2.4.0-test6 linux/arch/mips64/sgi-ip27/ip27-init.c

Next file: linux/arch/mips64/sgi-ip27/ip27-irq.c
Previous file: linux/arch/mips64/sgi-ip22/ip22-setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/arch/mips64/sgi-ip27/ip27-init.c linux/arch/mips64/sgi-ip27/ip27-init.c
@@ -301,7 +301,8 @@
 			memcpy((void *)(KSEG0 + 0x100), (void *) KSEG0, 0x80);
 			memcpy((void *)(KSEG0 + 0x180), &except_vec3_generic,
 								0x100);
-			flush_cache_all();
+			flush_cache_l1();
+			flush_cache_l2();
 		}
 #endif
 	}
@@ -418,7 +419,8 @@
 	init_mfhi_war();
 #endif
 	_flush_tlb_all();
-	flush_cache_all();
+	flush_cache_l1();
+	flush_cache_l2();
 	start_secondary();
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)