diff options
author | Nanyong Sun <sunnanyong@huawei.com> | 2021-03-05 19:33:30 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-03-09 20:46:05 -0800 |
commit | 86b276c1ddedfbcc0be708e73d82ce1fb2298768 (patch) | |
tree | f63a252dd55148e41c9af8da48e51ca329fc7dfb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a6a58ecf98c3f6d95123ee3e66ccb6f7672c6e68 (diff) |
riscv: process: Fix no prototype for show_regs
Include header file to fix the following W=1 compilation warning:
arch/riscv/kernel/process.c:78:6: warning: no previous prototype for ‘show_regs’ [-Wmissing-prototypes]
78 | void show_regs(struct pt_regs *regs)
| ^~~~~~~~~
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions