diff options
author | Rob Herring <[email protected]> | 2018-08-27 12:21:39 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2018-09-28 14:25:58 -0500 |
commit | 5e5abae858b5d3d060a441cc5da0859cd8cb2c82 (patch) | |
tree | 742f3dcce5e3d8395dad08b59e4de89c9d85ea45 /tools/perf/scripts/python/sctop.py | |
parent | 1f0fe1f67cef6fb4029e8a0af90438e8280c80f1 (diff) |
openrisc: use for_each_of_cpu_node iterator
Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".
This also fixes a leaked reference for cpus node.
Cc: Jonas Bonn <[email protected]>
Cc: Stefan Kristiansson <[email protected]>
Cc: [email protected]
Acked-by: Stafford Horne <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions