diff options
author | Taku Izumi <[email protected]> | 2012-10-31 09:51:48 +0900 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2012-11-05 16:59:59 -0700 |
commit | ff8e59bc4ec3f31789a47dce9b6fe44bd7bc5fcc (patch) | |
tree | e502e5301a0fe7475696851c435c2b887285169c /tools/perf/util/trace-event-scripting.c | |
parent | 3cba8eedb757590455b03dfeaba15a5b32610339 (diff) |
PCI/portdrv: Don't create hotplug slots unless port supports hotplug
Commit 2dcfaf85 mistakenly dropped the "flags & PCI_EXP_FLAGS_SLOT" test,
so now we create hotplug slots even for PCIe port devices that don't
support hotplug. This patch fixes this problem.
[bhelgaas: changelog]
Signed-off-by: Taku Izumi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Yinghai Lu <[email protected]>
Reviewed-by: Jiang Liu <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions