diff options
Diffstat (limited to 'arch/alpha/kernel')
| -rw-r--r-- | arch/alpha/kernel/pci.c | 12 | ||||
| -rw-r--r-- | arch/alpha/kernel/smp.c | 6 | ||||
| -rw-r--r-- | arch/alpha/kernel/sys_titan.c | 2 |
3 files changed, 9 insertions, 11 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index ef757147cbf9..edb4e0097b75 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
| @@ -59,13 +59,13 @@ struct pci_controller *pci_isa_hose; | |||
| 59 | * Quirks. | 59 | * Quirks. |
| 60 | */ | 60 | */ |
| 61 | 61 | ||
| 62 | static void __devinit quirk_isa_bridge(struct pci_dev *dev) | 62 | static void quirk_isa_bridge(struct pci_dev *dev) |
| 63 | { | 63 | { |
| 64 | dev->class = PCI_CLASS_BRIDGE_ISA << 8; | 64 | dev->class = PCI_CLASS_BRIDGE_ISA << 8; |
| 65 | } | 65 | } |
| 66 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82378, quirk_isa_bridge); | 66 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82378, quirk_isa_bridge); |
| 67 | 67 | ||
| 68 | static void __devinit quirk_cypress(struct pci_dev *dev) | 68 | static void quirk_cypress(struct pci_dev *dev) |
| 69 | { | 69 | { |
| 70 | /* The Notorious Cy82C693 chip. */ | 70 | /* The Notorious Cy82C693 chip. */ |
| 71 | 71 | ||
| @@ -104,7 +104,7 @@ static void __devinit quirk_cypress(struct pci_dev *dev) | |||
| 104 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CONTAQ, PCI_DEVICE_ID_CONTAQ_82C693, quirk_cypress); | 104 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CONTAQ, PCI_DEVICE_ID_CONTAQ_82C693, quirk_cypress); |
| 105 | 105 | ||
| 106 | /* Called for each device after PCI setup is done. */ | 106 | /* Called for each device after PCI setup is done. */ |
| 107 | static void __devinit pcibios_fixup_final(struct pci_dev *dev) | 107 | static void pcibios_fixup_final(struct pci_dev *dev) |
| 108 | { | 108 | { |
| 109 | unsigned int class = dev->class >> 8; | 109 | unsigned int class = dev->class >> 8; |
| 110 | 110 | ||
| @@ -198,8 +198,7 @@ subsys_initcall(pcibios_init); | |||
| 198 | #ifdef ALPHA_RESTORE_SRM_SETUP | 198 | #ifdef ALPHA_RESTORE_SRM_SETUP |
| 199 | static struct pdev_srm_saved_conf *srm_saved_configs; | 199 | static struct pdev_srm_saved_conf *srm_saved_configs; |
| 200 | 200 | ||
| 201 | void __devinit | 201 | void pdev_save_srm_config(struct pci_dev *dev) |
| 202 | pdev_save_srm_config(struct pci_dev *dev) | ||
| 203 | { | 202 | { |
| 204 | struct pdev_srm_saved_conf *tmp; | 203 | struct pdev_srm_saved_conf *tmp; |
| 205 | static int printed = 0; | 204 | static int printed = 0; |
| @@ -241,8 +240,7 @@ pci_restore_srm_config(void) | |||
| 241 | } | 240 | } |
| 242 | #endif | 241 | #endif |
| 243 | 242 | ||
| 244 | void __devinit | 243 | void pcibios_fixup_bus(struct pci_bus *bus) |
| 245 | pcibios_fixup_bus(struct pci_bus *bus) | ||
| 246 | { | 244 | { |
| 247 | struct pci_dev *dev = bus->self; | 245 | struct pci_dev *dev = bus->self; |
| 248 | 246 | ||
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index a41ad90a97a6..9603bc234b47 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
| @@ -68,7 +68,7 @@ enum ipi_message_type { | |||
| 68 | }; | 68 | }; |
| 69 | 69 | ||
| 70 | /* Set to a secondary's cpuid when it comes online. */ | 70 | /* Set to a secondary's cpuid when it comes online. */ |
| 71 | static int smp_secondary_alive __devinitdata = 0; | 71 | static int smp_secondary_alive = 0; |
| 72 | 72 | ||
| 73 | int smp_num_probed; /* Internal processor count */ | 73 | int smp_num_probed; /* Internal processor count */ |
| 74 | int smp_num_cpus = 1; /* Number that came online. */ | 74 | int smp_num_cpus = 1; /* Number that came online. */ |
| @@ -172,7 +172,7 @@ smp_callin(void) | |||
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */ | 174 | /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */ |
| 175 | static int __devinit | 175 | static int |
| 176 | wait_for_txrdy (unsigned long cpumask) | 176 | wait_for_txrdy (unsigned long cpumask) |
| 177 | { | 177 | { |
| 178 | unsigned long timeout; | 178 | unsigned long timeout; |
| @@ -468,7 +468,7 @@ smp_prepare_cpus(unsigned int max_cpus) | |||
| 468 | smp_num_cpus = smp_num_probed; | 468 | smp_num_cpus = smp_num_probed; |
| 469 | } | 469 | } |
| 470 | 470 | ||
| 471 | void __devinit | 471 | void |
| 472 | smp_prepare_boot_cpu(void) | 472 | smp_prepare_boot_cpu(void) |
| 473 | { | 473 | { |
| 474 | } | 474 | } |
diff --git a/arch/alpha/kernel/sys_titan.c b/arch/alpha/kernel/sys_titan.c index 2533db280d9b..5cf4a481b8c5 100644 --- a/arch/alpha/kernel/sys_titan.c +++ b/arch/alpha/kernel/sys_titan.c | |||
| @@ -303,7 +303,7 @@ titan_late_init(void) | |||
| 303 | 303 | ||
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | static int __devinit | 306 | static int |
| 307 | titan_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 307 | titan_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
| 308 | { | 308 | { |
| 309 | u8 intline; | 309 | u8 intline; |
