diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-12-20 05:10:02 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 06:18:17 +0100 |
commit | 54a24cbbd0184faffc37c39cd3a896f4ddac3e03 (patch) | |
tree | 4ff7a745643406883ba87ee4aa4f527040c6bf71 /arch/xtensa | |
parent | [POWERPC] Disable PCI IO/Mem on a device when resources can't be allocated (diff) | |
download | linux-54a24cbbd0184faffc37c39cd3a896f4ddac3e03.tar.xz linux-54a24cbbd0184faffc37c39cd3a896f4ddac3e03.zip |
[POWERPC] Fix PCI IRQ fallback code to not map IRQ 0
The PCI IRQ code has a fallback when the device-tree parsing fails, that
tries to map the interrupt indicated by PCI_INTERRUPT_LINE if the firmware
set something in there. This is a bit fragile but has proven useful in some
cases so far. However, it's causing us to incorrectly try to map interrupt 0
on various setups, so let's prevent that case, as none of the cases where
the fallback is legit should have an IRQ 0.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions