patch-2.3.16 linux/arch/mips/arc/memory.c
Next file: linux/arch/mips/arc/misc.c
Previous file: linux/arch/mips/arc/init.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Thu Aug 26 12:42:31 1999
- Orig file:
v2.3.15/linux/arch/mips/arc/memory.c
- Orig date:
Wed Jun 30 11:24:54 1999
diff -u --recursive --new-file v2.3.15/linux/arch/mips/arc/memory.c linux/arch/mips/arc/memory.c
@@ -20,7 +20,7 @@
/* #define DEBUG */
-__initfunc(struct linux_mdesc *prom_getmdesc(struct linux_mdesc *curr))
+struct linux_mdesc * __init prom_getmdesc(struct linux_mdesc *curr)
{
return romvec->get_mdesc(curr);
}
@@ -52,7 +52,7 @@
static struct prom_pmemblock prom_pblocks[PROM_MAX_PMEMBLOCKS];
-__initfunc(struct prom_pmemblock *prom_getpblock_array(void))
+struct prom_pmemblock * __init prom_getpblock_array(void)
{
return &prom_pblocks[0];
}
@@ -89,7 +89,7 @@
}
}
-__initfunc(static void prom_setup_memupper(void))
+static void __init prom_setup_memupper(void)
{
struct prom_pmemblock *p, *highest;
@@ -106,7 +106,7 @@
#endif
}
-__initfunc(void prom_meminit(void))
+void __init prom_meminit(void)
{
struct linux_mdesc *p;
int totram;
@@ -162,7 +162,7 @@
}
/* Called from mem_init() to fixup the mem_map page settings. */
-__initfunc(void prom_fixup_mem_map(unsigned long start, unsigned long end))
+void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
{
struct prom_pmemblock *p;
int i, nents;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)