diff options
| author | Marcin Nowakowski <[email protected]> | 2016-11-21 11:23:39 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-01-03 16:34:44 +0100 |
| commit | 39a3cb27c123df8e8461291cc9e86f1ac3f0ea06 (patch) | |
| tree | 2447680677724f3c0d5180039e3f86fd128cb4c5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 08c941bf6ec523d666a78f86e3d696ed45dfb6e5 (diff) | |
MIPS: elfcore: add correct copy_regs implementations
MIPS does not currently define ELF_CORE_COPY_REGS macros and as a result
the generic implementation is used. The generic version attempts to do
directly map (struct pt_regs) into (elf_gregset_t), which isn't correct
for MIPS platforms and also triggers a BUG() at runtime in
include/linux/elfcore.h:16 (BUG_ON(sizeof(*elfregs) != sizeof(*regs)))
[[email protected]: Add semicolons to the macro definitions as I do not
apply https://patchwork.linux-mips.org/patch/14588/ for now.]
Signed-off-by: Marcin Nowakowski <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/14586/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions