diff options
author | Rob Herring <[email protected]> | 2023-03-27 17:30:56 -0500 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-04-04 22:11:03 +1000 |
commit | 037c47a436eab2d336d5e131ab1c1394f223a57b (patch) | |
tree | 8ce56b79929855565159fcc545b01df3d6ebdf65 /tools/perf/scripts/python/syscall-counts.py | |
parent | e4ab08be5b4902e5b350b0e1e1a3c25eb21d76d4 (diff) |
powerpc/xics: Use of_address_count()
icp_native_init_one_node() only needs the number of entries in "reg".
Replace the open coded "reg" parsing with of_address_count() to get the
number of "reg" entries.
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions