summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2023-11-23 16:42:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-16 21:10:53 +0300
commit89b00dc3d6bb2aa493be2f0f9824051e471c5a92 (patch)
tree671df1e449a018e35444ca234a8ff5d57d1e64dd /block
parentbc401f796061bd64b364e9f75dcf9368c1a103cc (diff)
downloadlinux-89b00dc3d6bb2aa493be2f0f9824051e471c5a92.tar.xz
riscv: declare overflow_stack as exported from traps.c
[ Upstream commit 2cf963787529f615f7c93bdcf13a5e82029e7f38 ] 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 <ben.dooks@codethink.co.uk> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Fixes: be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe") Link: https://lore.kernel.org/r/20231123134214.81481-1-ben.dooks@codethink.co.uk Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions