vserver 1.9.5.x5
[linux-2.6.git] / arch / mips / mm / tlb-r3k.c
index 89a0ee3..7948e9a 100644 (file)
@@ -26,7 +26,7 @@
 
 #undef DEBUG_TLB
 
-extern char except_vec0_r2300;
+extern void build_tlb_refill_handler(void);
 
 /* CP0 hazard avoidance. */
 #define BARRIER                                \
@@ -284,6 +284,6 @@ void __init add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
 void __init tlb_init(void)
 {
        local_flush_tlb_all();
-       memcpy((void *)KSEG0, &except_vec0_r2300, 0x80);
-       flush_icache_range(KSEG0, KSEG0 + 0x80);
+
+       build_tlb_refill_handler();
 }