]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
PCI: Provide a default pcibios_update_irq()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 17 Sep 2012 11:22:54 +0000 (13:22 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Sep 2012 23:28:21 +0000 (17:28 -0600)
commit8885b7b637fa9aca7e1b00581a0173c6956966d3
tree68511ba698f6837498a9ed0a18d312039cb89e5f
parent3ddbebf878ac8d958bb34e87a742a6b3adc283a3
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>
14 files changed:
arch/alpha/kernel/pci.c
arch/arm/kernel/bios32.c
arch/ia64/pci/pci.c
arch/m68k/kernel/pcibios.c
arch/mips/pci/pci.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/leon_pci.c
arch/sparc/kernel/pci.c
arch/tile/kernel/pci.c
arch/tile/kernel/pci_gx.c
arch/unicore32/kernel/pci.c
arch/x86/pci/visws.c
arch/xtensa/kernel/pci.c
drivers/pci/setup-irq.c