patch-2.4.20 linux-2.4.20/arch/mips64/kernel/r4k_genex.S

Next file: linux-2.4.20/arch/mips64/kernel/r4k_switch.S
Previous file: linux-2.4.20/arch/mips64/kernel/r4k_fpu.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/mips64/kernel/r4k_genex.S linux-2.4.20/arch/mips64/kernel/r4k_genex.S
@@ -40,6 +40,9 @@
  */
 	NESTED(except_vec3_r4000, 0, sp)
 	.set	noat
+#if defined(R5432_CP0_INTERRUPT_WAR)
+	mfc0    k0, CP0_INDEX
+#endif
 	mfc0	k1, CP0_CAUSE
 	andi	k1, k1, 0x7c
 	li	k0, 31<<2

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