commit | 23c1075ae83adaf14ea3f727c40368799f80bccc | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Wed Mar 17 23:08:38 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Apr 01 21:37:03 2021 -0700 |
tree | 9205e422692ca9b03ddf72092fd030063e30baf9 | |
parent | a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 [diff] |
riscv: Drop const annotation for sp The const annotation should not be used for 'sp', or it will become read only and lead to bad stack output. Fixes: dec822771b01 ("riscv: stacktrace: Move register keyword to beginning of declaration") Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>