diff options
author | Ben Dooks <[email protected]> | 2023-11-23 13:42:14 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-02-07 09:55:27 -0800 |
commit | 2cf963787529f615f7c93bdcf13a5e82029e7f38 (patch) | |
tree | 7c1f908ffa76cbb20061970621eb992e42473efa /fs/xfs/libxfs/xfs_rtbitmap.c | |
parent | ce68c035457bdd025a9961e0ba2157323090c581 (diff) |
riscv: declare overflow_stack as exported from traps.c
The percpu area overflow_stacks is exported from arch/riscv/kernel/traps.c
for use in the entry code, but is not declared anywhere. Add the relevant
declaration to arch/riscv/include/asm/stacktrace.h to silence the following
sparse warning:
arch/riscv/kernel/traps.c:395:1: warning: symbol '__pcpu_scope_overflow_stack' was not declared. Should it be static?
We don't add the stackinfo_get_overflow() call as for some of the other
architectures as this doesn't seem to be used yet, so just silence the
warning.
Signed-off-by: Ben Dooks <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Fixes: be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rtbitmap.c')
0 files changed, 0 insertions, 0 deletions