]> git.baikalelectronics.ru Git - kernel.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)
commit9a7dfad61816e82ddaf2c4077da9acf1d666fc7f
tree10f3a86dd6726298feee560234f98db3dfb6273f
parent1000cc761b1ef3b0a547750ff430470c83b9a295
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