diff options
| author | Rob Herring <robh@kernel.org> | 2023-03-27 17:30:56 -0500 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-04 22:11:03 +1000 |
| commit | 037c47a436eab2d336d5e131ab1c1394f223a57b (patch) | |
| tree | 8ce56b79929855565159fcc545b01df3d6ebdf65 /tools/perf/scripts/python/export-to-sqlite.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 <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230327223056.820086-1-robh@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
