patch-2.4.25 linux-2.4.25/arch/mips/mm/c-tx39.c
Next file: linux-2.4.25/arch/mips/mm/cerr-sb1.c
Previous file: linux-2.4.25/arch/mips/mm/c-sb1.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/mm/c-tx39.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/mips/mm/c-tx39.c linux-2.4.25/arch/mips/mm/c-tx39.c
@@ -28,9 +28,6 @@
#include <asm/r4kcache.h>
-extern void r3k_clear_page(void * page);
-extern void r3k_copy_page(void * to, void * from);
-
extern int r3k_have_wired_reg; /* in r3k-tlb.c */
/* This sequence is required to ensure icache is disabled immediately */
@@ -409,11 +406,10 @@
void __init ld_mmu_tx39(void)
{
+ extern void build_clear_page(void);
+ extern void build_copy_page(void);
unsigned long config;
- _clear_page = r3k_clear_page;
- _copy_page = r3k_copy_page;
-
config = read_c0_conf();
config &= ~TX39_CONF_WBON;
write_c0_conf(config);
@@ -488,4 +484,7 @@
icache_size >> 10, current_cpu_data.icache.linesz);
printk("Primary data cache %ldkb, linesize %d bytes\n",
dcache_size >> 10, current_cpu_data.dcache.linesz);
+
+ build_clear_page();
+ build_copy_page();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)