diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-08-13 14:25:21 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 14:58:35 +0000 |
commit | bf09b6ae588f7567bcf31d9eff313d4d9fdc664e (patch) | |
tree | eb59c23af7b7a6f5bf8e0e3076f15b4894e13ba7 /tools/perf/scripts/python/sched-migration.py | |
parent | b42285f66f871a9898a0e79e2d74bc7e7a101995 (diff) |
PCI: mvebu: increment nports only for registered ports
The number of ports is probed by counting the number of available child nodes.
Later on, the registration of a port can fail and cause a mismatch between
the ->nports counter and registered ports. This patch modifies the counting
strategy, to make ->nports represent the number of registered ports instead
of the number of available childs.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions