diff -Nru oss-link/arch/mips/kernel/entry.S.orig oss-link/arch/mips/kernel/entry.S --- oss-link/arch/mips/kernel/entry.S.orig Tue Oct 30 10:28:23 2001 +++ oss-link/arch/mips/kernel/entry.S Thu Nov 1 15:26:42 2001 @@ -118,6 +118,14 @@ END(except_vec1_generic) NESTED(except_vec3_generic, 0, sp) + +#if defined(CONFIG_CPU_R5432) + /* [jsun] work around a nasty bug in R5432 */ + la k0, 1f + jr k0 + nop +1: +#endif mfc0 k1, CP0_CAUSE la k0, exception_handlers andi k1, k1, 0x7c diff -Nru oss-link/arch/mips/mm/tlbex-r4k.S.orig oss-link/arch/mips/mm/tlbex-r4k.S --- oss-link/arch/mips/mm/tlbex-r4k.S.orig Sat Oct 20 18:29:57 2001 +++ oss-link/arch/mips/mm/tlbex-r4k.S Thu Nov 1 15:27:01 2001 @@ -39,6 +39,15 @@ .set noat LEAF(except_vec0_r4000) .set mips3 + +#if defined(CONFIG_CPU_R5432) + /* [jsun] work around a nasty bug in R5432 */ + la k0, 1f + jr k0 + nop +1: +#endif + #ifdef CONFIG_SMP mfc0 k1, CP0_CONTEXT la k0, pgd_current