diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-11-04 16:51:31 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-11-04 16:51:31 -0700 |
commit | 9437eca18170008a085a61bf96c99f2d923b0393 (patch) | |
tree | 202e08e658fbe2ae76e4df47bf015e35cb4e08ca /tools/perf/scripts/python/net_dropmonitor.py | |
parent | f0308261b1dd5acba5c7e797159e60f94706df7d (diff) |
powerpc/pci: Use pci_is_pcie() to simplify code [fix]
Fix f0308261b1 ("powerpc/pci: Use pci_is_pcie() to simplify code"). I
accidentally merged v2 instead of v3, so this adds the difference. Without
this, "cap" is the left-over PCI-X capability offset, and we're using it as
the PCIe capability offset.
[bhelgaas: extracted v2->v3 diff]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions