arch/xtensa: Remove the unused SYS_pthread_exit

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-02-25 03:50:06 +08:00 committed by archer
parent b57e0b6118
commit 8b77801b1c

View File

@ -65,7 +65,7 @@
# ifdef CONFIG_BUILD_PROTECTED # ifdef CONFIG_BUILD_PROTECTED
# ifndef CONFIG_SYS_RESERVED # ifndef CONFIG_SYS_RESERVED
# error "CONFIG_SYS_RESERVED must be defined to have the value 9" # error "CONFIG_SYS_RESERVED must be defined to have the value 9"
# elif CONFIG_SYS_RESERVED != 9 # elif CONFIG_SYS_RESERVED != 8
# error "CONFIG_SYS_RESERVED must have the value 9" # error "CONFIG_SYS_RESERVED must have the value 9"
# endif # endif
# else # else
@ -146,13 +146,6 @@
#define SYS_pthread_start (5) #define SYS_pthread_start (5)
/* SYS call 8:
*
* void up_pthread_exit(pthread_exitroutine_t exit, void *exit_value)
*/
#define SYS_pthread_exit (8)
#endif /* !CONFIG_BUILD_FLAT */ #endif /* !CONFIG_BUILD_FLAT */
#endif /* CONFIG_LIB_SYSCALL */ #endif /* CONFIG_LIB_SYSCALL */