Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 6e0d055

Browse files
Song Shuaigregkh
authored andcommitted
riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
[ Upstream commit a7565f4 ] The commit be97d0d ("riscv: VMAP_STACK overflow detection thread-safe") got rid of `shadow_stack`, so SHADOW_OVERFLOW_STACK_SIZE should be removed too. Fixes: be97d0d ("riscv: VMAP_STACK overflow detection thread-safe") Signed-off-by: Song Shuai <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 50e3356 commit 6e0d055

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/riscv/include/asm/thread_info.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
#define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER)
3535
#define OVERFLOW_STACK_SIZE SZ_4K
36-
#define SHADOW_OVERFLOW_STACK_SIZE (1024)
3736

3837
#define IRQ_STACK_SIZE THREAD_SIZE
3938

0 commit comments

Comments
 (0)