diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-06-28 00:02:27 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 12:05:15 +1000 |
commit | fd19a1f72aa7bf687609e0810e644fe5b3846342 (patch) | |
tree | f774997258a395fc1b22f93afcb9de482b7dcd49 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2b461880c20777d317b4ad24ef040918860133ca (diff) |
selftests/powerpc: Ensure 16-byte stack pointer alignment
The PUSH/POP_BASIC_STACK helpers in basic_asm.h do not ensure that the
stack pointer is always 16-byte aligned, which is required per the ABI.
Fix the macros to do the alignment if the caller fails to.
Currently only one caller passes a non-aligned size, tm_signal_self(),
which hasn't been caught in testing, presumably because it's a leaf
function.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions