summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-21 17:27:50 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-21 17:27:50 +0000
commit450fd370d43ff2e5a0f329ed31d2eb2a8aa44d60 (patch)
treef8d08f857b2351f6fd421a61e3d2a12ae8874476 /arch
parent242cc192add1539fc4add6c1c44932707b885837 (diff)
Don't overwrite the cache exception handler.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/traps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 26cd9fec8..4972885c2 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -731,8 +731,7 @@ void __init trap_init(void)
else
memcpy((void *)KSEG0, &except_vec0_r4000, 0x80);
- /* Cache error vector */
- memcpy((void *)(KSEG0 + 0x100), (void *) KSEG0, 0x80);
+ /* Cache error vector already set above. */
if (vce_available) {
memcpy((void *)(KSEG0 + 0x180), &except_vec3_r4000,
@@ -741,7 +740,6 @@ void __init trap_init(void)
memcpy((void *)(KSEG0 + 0x180), &except_vec3_generic,
0x80);
}
-
break;
case CPU_R6000: