]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: Rename "sp_in_global" to "current_stack_pointer"
authorKees Cook <keescook@chromium.org>
Thu, 24 Feb 2022 06:04:11 +0000 (22:04 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 30 Mar 2022 22:15:27 +0000 (15:15 -0700)
commitfdecfea09328b33fd08a4d418237cce9fd176d69
tree10f3a86dd6726298feee560234f98db3dfb6273f
parent60210a3d86dc57ce4a76a366e7841dda746a33f7
riscv: Rename "sp_in_global" to "current_stack_pointer"

To follow the existing per-arch conventions, rename "sp_in_global" to
"current_stack_pointer". This will let it be used in non-arch places
(like HARDENED_USERCOPY).

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/include/asm/current.h
arch/riscv/kernel/stacktrace.c