Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d6b8947b authored by Behan Webster's avatar Behan Webster Committed by Alexander Alexeev
Browse files

UPSTREAM: arm64: LLVMLinux: Add current_stack_pointer() for arm64



Define a global named register for current_stack_pointer. The use of this new
variable guarantees that both gcc and clang can access this register in C code.

Signed-off-by: default avatarBehan Webster <behanw@converseincode.com>
Reviewed-by: default avatarJan-Simon Möller <dl9pf@gmx.de>
Reviewed-by: default avatarMark Charlebois <charlebm@gmail.com>
Reviewed-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
(cherry picked from commit 3337a10e0d0cbc9225cefc23aa7a604b698367ed)
Bug: 29520177
Signed-off-by: default avatarMohan Srinivasan <srmohan@google.com>
Change-Id: I19acaf0740ed061d47e4d4c6547142d45aaf81d4
parent 2779c2bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment