projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a0f88
)
ARM: iop32x/n2100: fix PCI IRQ mapping
author
Russell King
<rmk+kernel@armlinux.org.uk>
Fri, 25 Jan 2019 20:10:15 +0000
(20:10 +0000)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 30 Jan 2019 10:34:42 +0000
(11:34 +0100)
Booting 4.20 on a TheCUS N2100 results in a kernel oops while probing
PCI, due to n2100_pci_map_irq() having been discarded during boot.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Cc: stable@vger.kernel.org # 2.6.18+
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-iop32x/n2100.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-iop32x/n2100.c
b/arch/arm/mach-iop32x/n2100.c
index
3b73813
..
23e8c93
100644
(file)
--- a/
arch/arm/mach-iop32x/n2100.c
+++ b/
arch/arm/mach-iop32x/n2100.c
@@
-75,8
+75,7
@@
void __init n2100_map_io(void)
/*
* N2100 PCI.
*/
-static int __init
-n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
+static int n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
int irq;