patch-2.3.16 linux/arch/mips/arc/cmdline.c

Next file: linux/arch/mips/arc/console.c
Previous file: linux/arch/m68k/sun3x/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/arch/mips/arc/cmdline.c linux/arch/mips/arc/cmdline.c
@@ -16,7 +16,7 @@
 
 char arcs_cmdline[CL_SIZE];
 
-__initfunc(char *prom_getcmdline(void))
+char * __init prom_getcmdline(void)
 {
 	return &(arcs_cmdline[0]);
 }
@@ -31,7 +31,7 @@
 };
 #define NENTS(foo) ((sizeof((foo)) / (sizeof((foo[0])))))
 
-__initfunc(void prom_init_cmdline(void))
+void __init prom_init_cmdline(void)
 {
 	char *cp;
 	int actr, i;

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