patch-2.3.16 linux/arch/sparc64/prom/bootstr.c

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

diff -u --recursive --new-file v2.3.15/linux/arch/sparc64/prom/bootstr.c linux/arch/sparc64/prom/bootstr.c
@@ -1,4 +1,4 @@
-/* $Id: bootstr.c,v 1.5 1998/01/23 08:51:39 jj Exp $
+/* $Id: bootstr.c,v 1.6 1999/08/31 06:55:01 davem Exp $
  * bootstr.c:  Boot string/argument acquisition from the PROM.
  *
  * Copyright(C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -14,8 +14,8 @@
 static int bootstr_valid = 0;
 static char bootstr_buf[BARG_LEN] = { 0 };
 
-__initfunc(char *
-prom_getbootargs(void))
+char * __init
+prom_getbootargs(void)
 {
 	/* This check saves us from a panic when bootfd patches args. */
 	if (bootstr_valid) return bootstr_buf;

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