linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 27 Dec 2004 04:14:30 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
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

<Prev in Thread] Current Thread [Next in Thread>