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

Commit a7565f4

Browse files
Song Shuaipalmer-dabbelt
authored andcommitted
riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
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]>
1 parent 5c89186 commit a7565f4

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
@@ -28,7 +28,6 @@
2828

2929
#define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER)
3030
#define OVERFLOW_STACK_SIZE SZ_4K
31-
#define SHADOW_OVERFLOW_STACK_SIZE (1024)
3231

3332
#define IRQ_STACK_SIZE THREAD_SIZE
3433

0 commit comments

Comments
 (0)