diff options
| author | Maciej W. Rozycki <[email protected]> | 2018-05-15 23:33:26 +0100 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2018-07-19 13:47:21 -0700 |
| commit | f5958b4cf4fc38ed4583ab83fb7c4cd1ab05f47b (patch) | |
| tree | c64cb3441bedc2053ed8e7c71794f5595fa0b380 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2f819db565e82e5f73cd42b39925098986693378 (diff) | |
MIPS: Correct the 64-bit DSP accumulator register size
Use the `unsigned long' rather than `__u32' type for DSP accumulator
registers, like with the regular MIPS multiply/divide accumulator and
general-purpose registers, as all are 64-bit in 64-bit implementations
and using a 32-bit data type leads to contents truncation on context
saving.
Update `arch_ptrace' and `compat_arch_ptrace' accordingly, removing
casts that are similarly not used with multiply/divide accumulator or
general-purpose register accesses.
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Fixes: e50c0a8fa60d ("Support the MIPS32 / MIPS64 DSP ASE.")
Patchwork: https://patchwork.linux-mips.org/patch/19329/
Cc: Alexander Viro <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected] # 2.6.15+
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions