diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2020-08-08 06:29:28 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-08-27 22:11:37 +0200 |
commit | e5c388b4b967037a0e00b60194b0dbcf94881a9b (patch) | |
tree | e54dc29511a513601435109ead822ae95dae2a75 /include | |
parent | ARC: HSDK: wireup perf irq (diff) | |
download | linux-e5c388b4b967037a0e00b60194b0dbcf94881a9b.tar.xz linux-e5c388b4b967037a0e00b60194b0dbcf94881a9b.zip |
ARC: show_regs: fix r12 printing and simplify
when working on ARC64, spotted an issue in ARCv2 reg file printing.
print_reg_file() assumes contiguous reg-file whereas in ARCv2 they are
not: r12 comes before r0-r11 due to hardware auto-save. Apparently this
issue has been present since v2 port submission.
To avoid bolting hacks for this discontinuity while looping through
pt_regs, just ditching the loop and print pt_regs directly.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions