patch-2.3.16 linux/arch/mips/mm/r4xx0.c
Next file: linux/arch/mips/mm/r6000.c
Previous file: linux/arch/mips/mm/r2300.c
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Thu Aug 26 12:42:32 1999
- Orig file:
v2.3.15/linux/arch/mips/mm/r4xx0.c
- Orig date:
Fri Jun 25 17:40:13 1999
diff -u --recursive --new-file v2.3.15/linux/arch/mips/mm/r4xx0.c linux/arch/mips/mm/r4xx0.c
@@ -2516,7 +2516,7 @@
}
/* Detect and size the various r4k caches. */
-__initfunc(static void probe_icache(unsigned long config))
+static void __init probe_icache(unsigned long config)
{
icache_size = 1 << (12 + ((config >> 9) & 7));
ic_lsize = 16 << ((config >> 5) & 1);
@@ -2525,7 +2525,7 @@
icache_size >> 10, ic_lsize);
}
-__initfunc(static void probe_dcache(unsigned long config))
+static void __init probe_dcache(unsigned long config)
{
dcache_size = 1 << (12 + ((config >> 6) & 7));
dc_lsize = 16 << ((config >> 4) & 1);
@@ -2540,7 +2540,7 @@
* the cache sizing loop that executes in KSEG1 space or else
* you will crash and burn badly. You have been warned.
*/
-__initfunc(static int probe_scache(unsigned long config))
+static int __init probe_scache(unsigned long config)
{
extern unsigned long stext;
unsigned long flags, addr, begin, end, pow2;
@@ -2624,7 +2624,7 @@
return 1;
}
-__initfunc(static void setup_noscache_funcs(void))
+static void __init setup_noscache_funcs(void)
{
unsigned int prid;
@@ -2662,7 +2662,7 @@
dma_cache_inv = r4k_dma_cache_inv_pc;
}
-__initfunc(static void setup_scache_funcs(void))
+static void __init setup_scache_funcs(void)
{
switch(sc_lsize) {
case 16:
@@ -2748,7 +2748,7 @@
typedef int (*probe_func_t)(unsigned long);
-__initfunc(static inline void setup_scache(unsigned int config))
+static inline void __init setup_scache(unsigned int config)
{
probe_func_t probe_scache_kseg1;
int sc_present = 0;
@@ -2770,7 +2770,7 @@
return (regs->cp0_status & ST0_KSU) == KSU_USER;
}
-__initfunc(void ld_mmu_r4xx0(void))
+void __init ld_mmu_r4xx0(void)
{
unsigned long config = read_32bit_cp0_register(CP0_CONFIG);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)