diff options
author | Joseph J Allen <eerykitty@gmail.com> | 2021-01-03 01:34:35 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-11 23:35:07 +1100 |
commit | caccf2ac5c5d085cd35043027b3eb93c4ffead07 (patch) | |
tree | 5772eea0140cd7a795717f1216ce70d4758d56a7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 2377c92e37fe97bc5b365f55cf60f56dfc4849f5 (diff) |
powerpc: use kernel endianness in MSR in 32-bit signal handler
This mirrors the behavior in handle_rt_signal32, to obey kernel endianness
rather than assume a 32-bit process is big-endian. Without this change,
any 32-bit little-endian process will SIGILL immediately upon handling a
signal.
Signed-off-by: Joseph J Allen <eerykitty@gmail.com>
Signed-off-by: Will Springer <skirmisher@protonmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2058876.irdbgypaU6@sheen
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions