patch-2.3.16 linux/arch/m68k/kernel/bios32.c
Next file: linux/arch/m68k/kernel/setup.c
Previous file: linux/arch/m68k/hp300/time.c
Back to the patch index
Back to the overall index
- Lines: 72
- Date:
Thu Aug 26 12:42:31 1999
- Orig file:
v2.3.15/linux/arch/m68k/kernel/bios32.c
- Orig date:
Sat Jul 18 14:02:10 1998
diff -u --recursive --new-file v2.3.15/linux/arch/m68k/kernel/bios32.c linux/arch/m68k/kernel/bios32.c
@@ -240,7 +240,7 @@
* accesses.
*/
-__initfunc(static void disable_dev(struct pci_dev *dev))
+static void __init disable_dev(struct pci_dev *dev)
{
struct pci_bus *bus;
unsigned short cmd;
@@ -263,8 +263,8 @@
#define MAX(val1, val2) ( ((val1) > (val2)) ? val1 : val2)
-__initfunc(static void layout_dev(struct pci_dev *dev, unsigned long pci_mem_base,
- unsigned long pci_io_base))
+static void __init layout_dev(struct pci_dev *dev, unsigned long pci_mem_base,
+ unsigned long pci_io_base)
{
struct pci_bus *bus;
unsigned short cmd;
@@ -400,8 +400,8 @@
bus->number, PCI_SLOT(dev->devfn), dev->vendor, dev->device, dev->class));
}
-__initfunc(static void layout_bus(struct pci_bus *bus, unsigned long pci_mem_base,
- unsigned long pci_io_base))
+static void __init layout_bus(struct pci_bus *bus, unsigned long pci_mem_base,
+ unsigned long pci_io_base)
{
struct pci_dev *dev;
@@ -512,7 +512,7 @@
return 0;
}
-__initfunc(void pcibios_init(void))
+void __init pcibios_init(void)
{
printk("Linux/m68k PCI BIOS32 revision %x.%02x\n", MAJOR_REV, MINOR_REV);
@@ -531,7 +531,7 @@
* of the PCI cards.
*/
-__initfunc(static inline void hades_fixup(void))
+static inline void __init hades_fixup(void)
{
char irq_tab[4] = {
IRQ_TT_MFP_IO0, /* Slot 0. */
@@ -560,7 +560,7 @@
}
}
-__initfunc(void pcibios_fixup(void))
+void __init pcibios_fixup(void)
{
#if PCI_MODIFY
unsigned long orig_mem_base, orig_io_base;
@@ -587,11 +587,11 @@
hades_fixup();
}
-__initfunc(void pcibios_fixup_bus(struct pci_bus *bus))
+void __init pcibios_fixup_bus(struct pci_bus *bus)
{
}
-__initfunc(char *pcibios_setup(char *str))
+char * __init pcibios_setup(char *str)
{
return str;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)