aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSong Shuai <[email protected]>2023-12-11 19:03:31 +0800
committerPalmer Dabbelt <[email protected]>2024-01-09 20:10:38 -0800
commita7565f4d068b2e60f95c3223c3167c40b8fe83ae (patch)
treeb9958b62bbf90ef317558b60ac458ecbe3d1c8ce
parent5c89186a32702d35496c8d3a9d8877ea6608d30a (diff)
riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
The commit be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe") got rid of `shadow_stack`, so SHADOW_OVERFLOW_STACK_SIZE should be removed too. Fixes: be97d0db5f44 ("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]>
-rw-r--r--arch/riscv/include/asm/thread_info.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/thread_info.h b/arch/riscv/include/asm/thread_info.h
index 574779900bfb..4856697c5f25 100644
--- a/arch/riscv/include/asm/thread_info.h
+++ b/arch/riscv/include/asm/thread_info.h
@@ -28,7 +28,6 @@
#define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER)
#define OVERFLOW_STACK_SIZE SZ_4K
-#define SHADOW_OVERFLOW_STACK_SIZE (1024)
#define IRQ_STACK_SIZE THREAD_SIZE