2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/arch/mips/txx9
Lorenzo Pieralisi 19a8d6b760 MIPS: PCI: Move map_irq() hooks out of initdata
04c81c7293 ("MIPS: PCI: Replace pci_fixup_irqs() call with host bridge
IRQ mapping hooks") moved the PCI IRQ fixup to the new host bridge
map/swizzle_irq() hooks mechanism. Those hooks can also be called after
boot, when all the __init/__initdata/__initconst sections have been freed.
Therefore, functions called by them (and the data they refer to) must not
be marked as __init/__initdata/__initconst lest compilation trigger section
mismatch warnings.

Fix all the board files map_irq() hooks by simply removing the respective
__init/__initdata/__initconst section markers and by adding another
persistent hook IRQ map for the txx9 board files.

Fixes: 04c81c7293 ("MIPS: PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks")
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Steve French <smfrench@gmail.com>
2017-09-19 14:55:26 -05:00
..
generic MIPS: PCI: Move map_irq() hooks out of initdata 2017-09-19 14:55:26 -05:00
jmr3927 MIPS: TXx9: Modernize printing of kernel messages 2017-01-03 16:34:32 +01:00
rbtx4927 MIPS: TXx9: tx49xx: Move GPIO setup from .mem_setup() to .arch_init() 2016-10-04 16:13:57 +02:00
rbtx4938 MIPS: TXx9: Modernize printing of kernel messages 2017-01-03 16:34:32 +01:00
rbtx4939 mips: use the new LED disk activity trigger 2016-06-27 08:58:41 +02:00
Kconfig MIPS: TXx9: Convert to Common Clock Framework 2016-10-04 16:13:57 +02:00
Makefile MIPS: TXx9: Migrate to new platform makefile style. 2010-08-05 13:25:55 +01:00
Platform MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00