projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c89186
)
riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
author
Song Shuai
<songshuaishuai@tinylab.org>
Mon, 11 Dec 2023 11:03:31 +0000
(19:03 +0800)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Wed, 10 Jan 2024 04:10:38 +0000
(20:10 -0800)
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 <songshuaishuai@tinylab.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link:
https://lore.kernel.org/r/20231211110331.359534-1-songshuaishuai@tinylab.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/thread_info.h
patch
|
blob
|
history
diff --git
a/arch/riscv/include/asm/thread_info.h
b/arch/riscv/include/asm/thread_info.h
index
5747799
..
4856697
100644
(file)
--- 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