diff options
| author | Michael Ellerman <[email protected]> | 2016-09-09 14:01:07 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-09-13 17:37:02 +1000 |
| commit | b42d9023a31e384504f5b53fc9a437d5536a3f63 (patch) | |
| tree | 200f16fad357481d6c7ae1bf1154105d40a1f40f /tools/perf/scripts/python | |
| parent | 0545d5436aefddff7ca417adc1a431c108403a35 (diff) | |
powerpc/xmon: Don't use ld on 32-bit
In commit 31cdd0c39c75 ("powerpc/xmon: Fix SPR read/write commands and
add command to dump SPRs") I added two uses of the "ld" instruction in
spr_access.S. "ld" is a 64-bit instruction, so shouldn't be used on
32-bit CPUs.
Replace it with PPC_LL which is a macro that gives us either "ld" or
"lwz" depending on whether we're 64 or 32-bit.
Fixes: 31cdd0c39c75 ("powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs")
Cc: [email protected] # v4.7+
Reported-by: John Paul Adrian Glaubitz <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions