PCI: Turn pcibios_penalize_isa_irq() into a weak function
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 6 May 2014 03:29:52 +0000 (11:29 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 22:23:58 +0000 (16:23 -0600)
commita43ae58c848cfbadaba81c8d63202b4487f922a0
tree142ac300293f2771444b91b6f077a0bfea622058
parent78916b00f0096059c872f537306b1a464c84fb30
PCI: Turn pcibios_penalize_isa_irq() into a weak function

pcibios_penalize_isa_irq() is only implemented by x86 now, and legacy ISA
is not used by some architectures.  Make pcibios_penalize_isa_irq() a
__weak function to simplify the code.  This removes the need for new
platforms to add stub implementations of pcibios_penalize_isa_irq().

[bhelgaas: changelog, comments]
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
21 files changed:
arch/alpha/include/asm/pci.h
arch/arm/include/asm/pci.h
arch/blackfin/include/asm/pci.h
arch/cris/include/asm/pci.h
arch/frv/include/asm/pci.h
arch/frv/mb93090-mb00/pci-irq.c
arch/ia64/include/asm/pci.h
arch/microblaze/include/asm/pci.h
arch/mips/include/asm/pci.h
arch/mn10300/include/asm/pci.h
arch/mn10300/unit-asb2305/pci-irq.c
arch/parisc/include/asm/pci.h
arch/powerpc/include/asm/pci.h
arch/sh/include/asm/pci.h
arch/sparc/include/asm/pci_32.h
arch/sparc/include/asm/pci_64.h
arch/unicore32/include/asm/pci.h
arch/x86/include/asm/pci.h
arch/xtensa/include/asm/pci.h
drivers/pci/pci.c
include/linux/pci.h