diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2023-02-10 21:41:57 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-13 14:35:02 +0300 |
commit | 77f85f69a97ac5f24537261a893436926c3e0cdc (patch) | |
tree | cfa3f3d5b5067d7f838259989d0e817b1059d821 /tools/perf/scripts/python/task-analyzer.py | |
parent | 8252b88294d2a744df6e3c6d85909ade403a5f2c (diff) | |
download | linux-77f85f69a97ac5f24537261a893436926c3e0cdc.tar.xz |
powerpc/rtas: strengthen do_enter_rtas() type safety, drop inline
Make do_enter_rtas() take a pointer to struct rtas_args and do the
__pa() conversion in one place instead of leaving it to callers. This
also makes it possible to introduce enter/exit tracepoints that access
the rtas_args struct fields.
There's no apparent reason to force inlining of do_enter_rtas()
either, and it seems to bloat the code a bit. Let the compiler decide.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230125-b4-powerpc-rtas-queue-v3-9-26929c8cce78@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions