Home
last modified time | relevance | path

Searched hist:b203c67ebe752c8f2a2babf5e58d244c82680922 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/csky/kernel/
H A Dstacktrace.cdiff b203c67ebe752c8f2a2babf5e58d244c82680922 Sat Oct 22 03:43:40 CEST 2022 Tong Tiangen <tongtiangen@huawei.com> csky: add arch support current_stack_pointer

To follow the existing per-arch conventions, using "current_stack_pointer"
to set sp.

This will let it be used in non-arch places(like HARDENED_USERCOPY).

Refer to the implementation of riscv commit fdecfea09328 ("riscv: Rename
"sp_in_global" to "current_stack_pointer"").

Link: https://lore.kernel.org/lkml/20220224060411.1855683-1-keescook@chromium.org/
Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
/linux/arch/csky/include/asm/
H A Dprocessor.hdiff b203c67ebe752c8f2a2babf5e58d244c82680922 Sat Oct 22 03:43:40 CEST 2022 Tong Tiangen <tongtiangen@huawei.com> csky: add arch support current_stack_pointer

To follow the existing per-arch conventions, using "current_stack_pointer"
to set sp.

This will let it be used in non-arch places(like HARDENED_USERCOPY).

Refer to the implementation of riscv commit fdecfea09328 ("riscv: Rename
"sp_in_global" to "current_stack_pointer"").

Link: https://lore.kernel.org/lkml/20220224060411.1855683-1-keescook@chromium.org/
Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Signed-off-by: Guo Ren <guoren@kernel.org>