patch-2.3.16 linux/arch/sparc/prom/memory.c

Next file: linux/arch/sparc/prom/ranges.c
Previous file: linux/arch/sparc/prom/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/arch/sparc/prom/memory.c linux/arch/sparc/prom/memory.c
@@ -1,4 +1,4 @@
-/* $Id: memory.c,v 1.13 1998/01/30 10:59:03 jj Exp $
+/* $Id: memory.c,v 1.14 1999/08/31 06:54:46 davem Exp $
  * memory.c: Prom routine for acquiring various bits of information
  *           about RAM on the machine, both virtual and physical.
  *
@@ -39,8 +39,8 @@
 /* Internal Prom library routine to sort a linux_mlist_v0 memory
  * list.  Used below in initialization.
  */
-__initfunc(static void
-prom_sortmemlist(struct linux_mlist_v0 *thislist))
+static void __init
+prom_sortmemlist(struct linux_mlist_v0 *thislist)
 {
 	int swapi = 0;
 	int i, mitr, tmpsize;
@@ -69,7 +69,7 @@
 }
 
 /* Initialize the memory lists based upon the prom version. */
-__initfunc(void prom_meminit(void))
+void __init prom_meminit(void)
 {
 	int node = 0;
 	unsigned int iter, num_regs;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)