You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ar...@apache.org on 2022/02/27 14:54:26 UTC

[incubator-nuttx] 01/04: arch/xtensa: Remove the unused SYS_pthread_exit

This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 8b77801b1c11628c3a1b65fdc281ad60b3da019d
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Feb 25 03:50:06 2022 +0800

    arch/xtensa: Remove the unused SYS_pthread_exit
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/xtensa/include/syscall.h | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/arch/xtensa/include/syscall.h b/arch/xtensa/include/syscall.h
index 57e23b4..27150c9 100644
--- a/arch/xtensa/include/syscall.h
+++ b/arch/xtensa/include/syscall.h
@@ -65,7 +65,7 @@
 #  ifdef CONFIG_BUILD_PROTECTED
 #    ifndef CONFIG_SYS_RESERVED
 #      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"
 #    endif
 #  else
@@ -146,13 +146,6 @@
 
 #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_LIB_SYSCALL */