diff options
author | 2017-02-01 14:41:42 +0100 | |
---|---|---|
committer | 2017-02-10 16:05:06 -0600 | |
commit | 862290f9e23c39051e59bf12ce65707a8ec8b911 (patch) | |
tree | 992c822cae2bf5a70159fdf044732c4e6baf3b0b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI/MSI: Remove pci_msi_domain_{alloc,free}_irqs() (diff) | |
download | linux-dev-862290f9e23c39051e59bf12ce65707a8ec8b911.tar.xz linux-dev-862290f9e23c39051e59bf12ce65707a8ec8b911.zip |
PCI/MSI: Check that we have a legacy interrupt line before using it
It seems like there are some devices (e.g. the PCIe root port driver) that
may not always have a INTx interrupt. Check for dev->irq before returning
a legacy interrupt in pci_irq_alloc_vectors to properly handle this case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions