CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 04/12/27 04:14:24
Modified files:
arch/mips/sgi-ip27: ip27-init.c
Log message:
Fix CONFIG_REPLICATE_EXHANDLERS.
diff -urN linux/arch/mips/sgi-ip27/ip27-init.c
linux/arch/mips/sgi-ip27/ip27-init.c
--- linux/arch/mips/sgi-ip27/ip27-init.c 2004/11/14 12:21:59 1.65
+++ linux/arch/mips/sgi-ip27/ip27-init.c 2004/12/27 04:14:24 1.66
@@ -78,15 +78,14 @@
* copy over the caliased exception handlers.
*/
if (get_compact_nodeid() == cnode) {
- extern char except_vec0, except_vec1_r4k;
extern char except_vec2_generic, except_vec3_generic;
+ extern void build_tlb_refill_handler(void);
- memcpy((void *)(KSEG0 + 0x100), &except_vec2_generic, 0x80);
- memcpy((void *)(KSEG0 + 0x180), &except_vec3_generic, 0x80);
- memcpy((void *)KSEG0, &except_vec0, 0x80);
- memcpy((void *)KSEG0 + 0x080, &except_vec1_r4k, 0x80);
- memcpy((void *)(KSEG0 + 0x100), (void *) KSEG0, 0x80);
- memcpy((void *)(KSEG0 + 0x180), &except_vec3_generic, 0x100);
+ memcpy((void *)(CKSEG0 + 0x100), &except_vec2_generic, 0x80);
+ memcpy((void *)(CKSEG0 + 0x180), &except_vec3_generic, 0x80);
+ build_tlb_refill_handler();
+ memcpy((void *)(CKSEG0 + 0x100), (void *) CKSEG0, 0x80);
+ memcpy((void *)(CKSEG0 + 0x180), &except_vec3_generic, 0x100);
__flush_cache_all();
}
#endif
|