#undef DEBUG_TLB
-extern void build_tlb_refill_handler(void);
+extern char except_vec0_r2300;
/* CP0 hazard avoidance. */
#define BARRIER \
void __init tlb_init(void)
{
local_flush_tlb_all();
-
- build_tlb_refill_handler();
+ memcpy((void *)KSEG0, &except_vec0_r2300, 0x80);
+ flush_icache_range(KSEG0, KSEG0 + 0x80);
}