]> Git Repo - linux.git/commit
PCI: use weak functions for MSI arch-specific functions
authorThomas Petazzoni <[email protected]>
Fri, 9 Aug 2013 20:27:06 +0000 (22:27 +0200)
committerJason Cooper <[email protected]>
Mon, 12 Aug 2013 15:26:39 +0000 (15:26 +0000)
commit4287d824f265451cd10f6d20266b27a207a6cdd7
treec98175713116fca3634ceded2c039be9d6f9ed63
parentad81f0545ef01ea651886dddac4bef6cec930092
PCI: use weak functions for MSI arch-specific functions

Until now, the MSI architecture-specific functions could be overloaded
using a fairly complex set of #define and compile-time
conditionals. In order to prepare for the introduction of the msi_chip
infrastructure, it is desirable to switch all those functions to use
the 'weak' mechanism. This commit converts all the architectures that
were overidding those MSI functions to use the new strategy.

Note that we keep two separate, non-weak, functions
default_teardown_msi_irqs() and default_restore_msi_irqs() for the
default behavior of the arch_teardown_msi_irqs() and
arch_restore_msi_irqs(), as the default behavior is needed by x86 PCI
code.

Signed-off-by: Thomas Petazzoni <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Tested-by: Daniel Price <[email protected]>
Tested-by: Thierry Reding <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: [email protected]
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: [email protected]
Cc: Russell King <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: [email protected]
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: David S. Miller <[email protected]>
Cc: [email protected]
Cc: Chris Metcalf <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
arch/mips/include/asm/pci.h
arch/powerpc/include/asm/pci.h
arch/s390/include/asm/pci.h
arch/x86/include/asm/pci.h
arch/x86/kernel/x86_init.c
drivers/pci/msi.c
include/linux/msi.h
This page took 0.073405 seconds and 4 git commands to generate.