diff options
author | 2017-04-13 09:06:42 +0200 | |
---|---|---|
committer | 2017-04-18 13:40:31 -0500 | |
commit | 704e8953d3e9db29d5d93c0bf6973d86fe15e679 (patch) | |
tree | f34833d4b925ce03294c4cae398877f1f1d95f07 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | genirq: Return the IRQ name from free_irq() (diff) | |
download | linux-dev-704e8953d3e9db29d5d93c0bf6973d86fe15e679.tar.xz linux-dev-704e8953d3e9db29d5d93c0bf6973d86fe15e679.zip |
PCI/irq: Add pci_request_irq() and pci_free_irq() helpers
These are small wrappers around request_threaded_irq() and free_irq(),
which dynamically allocate space for the device name so that drivers don't
need to keep static buffers for these around. Additionally it works with
device-relative vector numbers to make the usage easier, and force the
IRQF_SHARED flag on given that it has no runtime overhead and should be
supported by all PCI devices.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions