arch/x86_64: Change up_getrsp to x64_getsp

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-07-09 03:08:51 +08:00
committed by Abdelatif Guettouche
parent 05f6445493
commit db02cea58c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ static inline void write_gsbase(unsigned long val)
/* Return stack pointer */
static inline uint64_t up_getrsp()
static inline uint64_t x64_getsp()
{
uint64_t regval;
+1 -1
View File
@@ -66,7 +66,7 @@
static inline FAR struct tls_info_s *up_tls_info(void)
{
DEBUGASSERT(!up_interrupt_context());
return TLS_INFO((uintptr_t)up_getrsp());
return TLS_INFO((uintptr_t)x64_getsp());
}
#else
# define up_tls_info() tls_get_info()