diff options
author | Tong Tiangen <tongtiangen@huawei.com> | 2022-10-22 01:43:40 +0000 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2022-10-21 23:52:29 -0400 |
commit | b203c67ebe752c8f2a2babf5e58d244c82680922 (patch) | |
tree | ef2e931ce17801419dcef1d083779be3e23c4829 /fs | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-b203c67ebe752c8f2a2babf5e58d244c82680922.tar.bz2 |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions