summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2014-05-06 11:29:52 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-05-27 16:23:58 -0600
commita43ae58c848cfbadaba81c8d63202b4487f922a0 (patch)
tree142ac300293f2771444b91b6f077a0bfea622058 /arch/microblaze
parent78916b00f0096059c872f537306b1a464c84fb30 (diff)
downloadop-kernel-dev-a43ae58c848cfbadaba81c8d63202b4487f922a0.zip
op-kernel-dev-a43ae58c848cfbadaba81c8d63202b4487f922a0.tar.gz
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/pci.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index 935f9be..3355240 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -44,11 +44,6 @@ struct pci_dev;
*/
#define pcibios_assign_all_busses() 0
-static inline void pcibios_penalize_isa_irq(int irq, int active)
-{
- /* We don't do dynamic PCI IRQ allocation */
-}
-
#ifdef CONFIG_PCI
extern void set_pci_dma_ops(struct dma_map_ops *dma_ops);
extern struct dma_map_ops *get_pci_dma_ops(void);
OpenPOWER on IntegriCloud