diff options
author | 2013-04-04 16:54:30 +0000 | |
---|---|---|
committer | 2013-04-23 09:50:30 -0600 | |
commit | e375b561817d9ae098cc4296a729fc88924a0159 (patch) | |
tree | 7cd6f54166d29a1b7c612e407d57ce79b1024610 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Use u8, not int, for PM capability offset (diff) | |
download | linux-dev-e375b561817d9ae098cc4296a729fc88924a0159.tar.xz linux-dev-e375b561817d9ae098cc4296a729fc88924a0159.zip |
PCI: Cache MSI/MSI-X capability offsets in struct pci_dev
The patch caches the MSI and MSI-X capability offset in PCI device
(struct pci_dev) so that we needn't read it from the config space
upon enabling or disabling MSI or MSI-X interrupts.
[bhelgaas: moved pm_cap size change to separate patch]
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions