patch-2.4.6 linux/arch/ppc/kernel/misc.S
Next file: linux/arch/ppc/kernel/mk_defs.c
Previous file: linux/arch/ppc/kernel/m8xx_setup.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Jul 2 14:34:57 2001
- Orig file:
v2.4.5/linux/arch/ppc/kernel/misc.S
- Orig date:
Mon May 21 17:04:47 2001
diff -u --recursive --new-file v2.4.5/linux/arch/ppc/kernel/misc.S linux/arch/ppc/kernel/misc.S
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.misc.S 1.16 05/17/01 18:14:21 cort
+ * BK Id: SCCS/s.misc.S 1.19 06/15/01 13:56:56 paulus
*/
/*
* This file contains miscellaneous low-level functions.
@@ -263,10 +263,13 @@
* This is a no-op on the 601.
*/
_GLOBAL(flush_instruction_cache)
-#ifdef CONFIG_8xx
+#if defined(CONFIG_8xx)
isync
lis r5, IDC_INVALL@h
mtspr IC_CST, r5
+#elif defined(CONFIG_4xx)
+ lis r3, KERNELBASE@h
+ iccci 0,r3
#else
mfspr r3,PVR
rlwinm r3,r3,16,16,31
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)