commit | dec822771b0174a01e72d7641d08e44461b6a82f | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Thu Jan 14 10:46:57 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Jan 14 18:31:47 2021 -0800 |
tree | eee3c926191ab2fb1406dafea32e74532d79483a | |
parent | 0983834a83931606a647c275e5d4165ce4e7b49f [diff] |
riscv: stacktrace: Move register keyword to beginning of declaration Using global sp_in_global directly to fix the following warning, arch/riscv/kernel/stacktrace.c:31:3: warning: ‘register’ is not at beginning of declaration [-Wold-style-declaration] 31 | const register unsigned long current_sp = sp_in_global; | ^~~~~ Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>