diff options
author | 2024-12-18 21:55:02 +1100 | |
---|---|---|
committer | 2025-02-26 21:15:08 +0530 | |
commit | 8a55941aed70196c1868280b76385709aff9b844 (patch) | |
tree | a27cda47eca499958eb74fe7c6b4f586a661266a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/io: Remove unnecessary indirection (diff) | |
download | wireguard-linux-8a55941aed70196c1868280b76385709aff9b844.tar.xz wireguard-linux-8a55941aed70196c1868280b76385709aff9b844.zip |
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