diff options
author | 2014-06-19 16:30:30 +0800 | |
---|---|---|
committer | 2014-07-03 16:55:07 -0600 | |
commit | 31ea5d4dfe21fb50276dcd70ce268e58d57eccb4 (patch) | |
tree | e8831d2a1ea82d5b70f19044ade5f56746d92580 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/MSI: Remove unused msi_enabled_mask() (diff) | |
download | linux-dev-31ea5d4dfe21fb50276dcd70ce268e58d57eccb4.tar.xz linux-dev-31ea5d4dfe21fb50276dcd70ce268e58d57eccb4.zip |
PCI/MSI: Cache Multiple Message Capable in struct msi_desc
The Multiple Message Capable field in the MSI Message Control register
indicates how many vectors the device supports. This field is read-only,
so cache it in msi_desc to avoid reading it repeatedly.
Since we cache the extracted field (not the entire Message Control
register), we can use msi_mask() instead of msi_capable_mask(), which is
then unused, so remove it.
[bhelgaas: fix whitespace, changelog]
Signed-off-by: Yijing Wang <wangyijing@huawei.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