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>
This commit is contained in:
Kees Cook 2022-02-23 22:04:11 -08:00 • committed by Palmer Dabbelt
commit fdecfea093
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 5 additions and 4 deletions