aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-09-17 07:22:54 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-09-18 19:28:21 -0400
commit8885b7b637fa9aca7e1b00581a0173c6956966d3 (patch)
tree68511ba698f6837498a9ed0a18d312039cb89e5f /arch/alpha
parent3ddbebf878ac8d958bb34e87a742a6b3adc283a3 (diff)
PCI: Provide a default pcibios_update_irq()
Most architectures implement this in exactly the same way. Instead of having each architecture duplicate this function, provide a single implementation in the core and make it a weak symbol so that it can be overridden on architectures where it is required. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/pci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c
index 920392f61ef2..ef757147cbf9 100644
--- a/arch/alpha/kernel/pci.c
+++ b/arch/alpha/kernel/pci.c
@@ -256,12 +256,6 @@ pcibios_fixup_bus(struct pci_bus *bus)
256 } 256 }
257} 257}
258 258
259void
260pcibios_update_irq(struct pci_dev *dev, int irq)
261{
262 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
263}
264
265int 259int
266pcibios_enable_device(struct pci_dev *dev, int mask) 260pcibios_enable_device(struct pci_dev *dev, int mask)
267{ 261{