diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2021-01-14 10:46:57 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-01-14 18:31:47 -0800 |
commit | dec822771b0174a01e72d7641d08e44461b6a82f (patch) | |
tree | eee3c926191ab2fb1406dafea32e74532d79483a /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions