patch-2.1.35 linux/arch/i386/kernel/setup.c
Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/kernel/mca.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Apr 15 10:25:16 1997
- Orig file:
v2.1.34/linux/arch/i386/kernel/setup.c
- Orig date:
Sun Feb 2 05:18:30 1997
diff -u --recursive --new-file v2.1.34/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -22,6 +22,7 @@
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/config.h>
+#include <linux/init.h>
#ifdef CONFIG_APM
#include <linux/apm_bios.h>
#endif
@@ -115,8 +116,8 @@
static char command_line[COMMAND_LINE_SIZE] = { 0, };
char saved_command_line[COMMAND_LINE_SIZE];
-void setup_arch(char **cmdline_p,
- unsigned long * memory_start_p, unsigned long * memory_end_p)
+__initfunc(void setup_arch(char **cmdline_p,
+ unsigned long * memory_start_p, unsigned long * memory_end_p))
{
unsigned long memory_start, memory_end;
char c = ' ', *to = command_line, *from = COMMAND_LINE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov