patch-2.3.16 linux/arch/mips/mm/r2300.c
Next file: linux/arch/mips/mm/r4xx0.c
Previous file: linux/arch/mips/mm/loadmmu.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu Aug 26 12:42:32 1999
- Orig file:
v2.3.15/linux/arch/mips/mm/r2300.c
- Orig date:
Fri Jun 25 17:40:13 1999
diff -u --recursive --new-file v2.3.15/linux/arch/mips/mm/r2300.c linux/arch/mips/mm/r2300.c
@@ -127,7 +127,7 @@
"I" (PAGE_SIZE));
}
-__initfunc(static unsigned long size_cache(unsigned long ca_flags))
+static unsigned long __init size_cache(unsigned long ca_flags)
{
unsigned long flags, status, dummy, size;
volatile unsigned long *p;
@@ -161,13 +161,13 @@
return size * sizeof(*p);
}
-__initfunc(static void probe_dcache(void))
+static void __init probe_dcache(void)
{
dcache.size = size_cache(dcache.ca_flags = ST0_DE);
printk("Data cache %dkb\n", dcache.size >> 10);
}
-__initfunc(static void probe_icache(void))
+static void __init probe_icache(void)
{
icache.size = size_cache(icache.ca_flags = ST0_DE|ST0_CE);
printk("Instruction cache %dkb\n", icache.size >> 10);
@@ -683,7 +683,7 @@
return !(regs->cp0_status & ST0_KUP);
}
-__initfunc(void ld_mmu_r2300(void))
+void __init ld_mmu_r2300(void)
{
printk("CPU revision is: %08x\n", read_32bit_cp0_register(CP0_PRID));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)