patch-2.1.35 linux/arch/i386/kernel/bios32.c
Next file: linux/arch/i386/kernel/head.S
Previous file: linux/arch/i386/boot/tools/build.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Tue Apr 15 10:25:16 1997
- Orig file:
v2.1.34/linux/arch/i386/kernel/bios32.c
- Orig date:
Fri Apr 4 08:52:16 1997
diff -u --recursive --new-file v2.1.34/linux/arch/i386/kernel/bios32.c linux/arch/i386/kernel/bios32.c
@@ -59,6 +59,7 @@
#include <linux/kernel.h>
#include <linux/bios32.h>
#include <linux/pci.h>
+#include <linux/init.h>
#include <asm/page.h>
#include <asm/segment.h>
@@ -188,7 +189,7 @@
} pci_indirect = { 0, KERNEL_CS };
-extern unsigned long check_pcibios(unsigned long memory_start, unsigned long memory_end)
+__initfunc(static unsigned long check_pcibios(unsigned long memory_start, unsigned long memory_end))
{
unsigned long signature;
unsigned char present_status;
@@ -710,7 +711,7 @@
};
-static struct pci_access *check_direct_pci(void)
+__initfunc(static struct pci_access *check_direct_pci(void))
{
unsigned int tmp;
unsigned long flags;
@@ -863,14 +864,14 @@
}
-unsigned long pcibios_fixup(unsigned long mem_start, unsigned long mem_end)
+__initfunc(unsigned long pcibios_fixup(unsigned long mem_start, unsigned long mem_end))
{
return mem_start;
}
#endif
-unsigned long pcibios_init(unsigned long memory_start, unsigned long memory_end)
+__initfunc(unsigned long pcibios_init(unsigned long memory_start, unsigned long memory_end))
{
#ifdef CONFIG_PCI
union bios32 *check;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov