diff options
| author | Jiang Liu <[email protected]> | 2015-07-30 14:00:08 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-07-30 14:17:28 -0500 |
| commit | 5f2269916b0e509f2926346b58209abfa8316143 (patch) | |
| tree | 443173a16164daf978550eb21ddef7425d773849 /scripts/gcc-plugins | |
| parent | 811a4e6fce09bc9239c664c6a1a53645a678c303 (diff) | |
PCI/MSI: Free legacy IRQ when enabling MSI/MSI-X
Once MSI/MSI-X is enabled by the device driver, a PCI device won't use
legacy IRQs again until MSI/MSI-X is disabled.
Call pcibios_free_irq() when enabling MSI/MSI-X and pcibios_alloc_irq()
when disabling MSI/MSI-X. This allows arch code to manage resources
associated with the legacy IRQ.
[bhelgaas: changelog]
Signed-off-by: Jiang Liu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions