diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2024-12-18 21:55:02 +1100 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-02-26 21:15:08 +0530 |
commit | 8a55941aed70196c1868280b76385709aff9b844 (patch) | |
tree | a27cda47eca499958eb74fe7c6b4f586a661266a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 41c8992c02a58cd5294546d98391dd542bea2d68 (diff) |
powerpc/io: Wrap port calculation in a macro
The calculation of the IO port is repeated several times, wrap it in
a macro, in particular to avoid spelling out the cast multiple times.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241218105523.416573-14-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions