patch-2.1.35 linux/arch/i386/kernel/mca.c
Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/irq.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Apr 15 10:25:16 1997
- Orig file:
v2.1.34/linux/arch/i386/kernel/mca.c
- Orig date:
Thu Dec 12 06:51:08 1996
diff -u --recursive --new-file v2.1.34/linux/arch/i386/kernel/mca.c linux/arch/i386/kernel/mca.c
@@ -23,6 +23,7 @@
#include <linux/pagemap.h>
#include <linux/ioport.h>
#include <asm/uaccess.h>
+#include <linux/init.h>
/* This structure holds MCA information. Each (plug-in) adapter has
* eight POS registers. Then the machine may have integrated video and
@@ -78,7 +79,7 @@
/*--------------------------------------------------------------------*/
-long mca_init(long memory_start, long memory_end)
+__initfunc(long mca_init(long memory_start, long memory_end))
{
unsigned int i, j;
int foundscsi = 0;
@@ -417,7 +418,7 @@
/*--------------------------------------------------------------------*/
-long mca_do_proc_init( long memory_start, long memory_end )
+__initfunc(long mca_do_proc_init( long memory_start, long memory_end ))
{
int i = 0;
struct proc_dir_entry* node = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov