summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/cpus.yaml
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-02-10 18:59:45 +0000
committerPalmer Dabbelt <palmer@rivosinc.com>2023-02-22 06:48:30 -0800
commiteb9be8310c58c166f9fae3b71c0ad9d6741b4897 (patch)
tree8f65c2fe824d24381147aa51689608ed6e4d7698 /Documentation/devicetree/bindings/arm/cpus.yaml
parenta3c7d6b642e4b4619f220bf43e8b78c34ffaecf1 (diff)
RISC-V: add a spin_shadow_stack declaration
The patchwork automation reported a sparse complaint that spin_shadow_stack was not declared and should be static: ../arch/riscv/kernel/traps.c:335:15: warning: symbol 'spin_shadow_stack' was not declared. Should it be static? However, this is used in entry.S and therefore shouldn't be static. The same applies to the shadow_stack that this pseudo spinlock is trying to protect, so do like its charge and add a declaration to thread_info.h Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Fixes: 7e1864332fbc ("riscv: fix race when vmap stack overflow") Reviewed-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20230210185945.915806-1-conor@kernel.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/cpus.yaml')
0 files changed, 0 insertions, 0 deletions