patch-2.1.101 linux/arch/mips/sgi/prom/cmdline.c
Next file: linux/arch/mips/sgi/prom/console.c
Previous file: linux/arch/mips/sgi/prom/Makefile
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri May 8 00:13:25 1998
- Orig file:
v2.1.100/linux/arch/mips/sgi/prom/cmdline.c
- Orig date:
Wed Dec 10 10:31:10 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/sgi/prom/cmdline.c linux/arch/mips/sgi/prom/cmdline.c
@@ -1,9 +1,11 @@
-/* $Id: cmdline.c,v 1.2 1997/12/02 05:51:09 ralf Exp $
+/*
* cmdline.c: Kernel command line creation using ARCS argc/argv.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: cmdline.c,v 1.3 1998/05/01 01:35:22 ralf Exp $
*/
-
+#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>
@@ -14,7 +16,7 @@
extern char arcs_cmdline[CL_SIZE];
-char *prom_getcmdline(void)
+__initfunc(char *prom_getcmdline(void))
{
return &(arcs_cmdline[0]);
}
@@ -29,7 +31,7 @@
};
#define NENTS(foo) ((sizeof((foo)) / (sizeof((foo[0])))))
-void prom_init_cmdline(void)
+__initfunc(void prom_init_cmdline(void))
{
char *cp;
int actr, i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov