You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/05/07 08:54:49 UTC
[incubator-nuttx] branch master updated: Fix syscall lookup table
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new d07fde0 Fix syscall lookup table
d07fde0 is described below
commit d07fde06aebe03b9031041ccff6691861d20ad24
Author: Nakamura, Yuuichi <Yu...@sony.com>
AuthorDate: Thu May 7 16:25:18 2020 +0900
Fix syscall lookup table
---
syscall/syscall_lookup.h | 4 ++--
syscall/syscall_stublookup.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/syscall/syscall_lookup.h b/syscall/syscall_lookup.h
index 845ddc5..9fd1c2d 100644
--- a/syscall/syscall_lookup.h
+++ b/syscall/syscall_lookup.h
@@ -315,8 +315,8 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
SYSCALL_LOOKUP(pthread_setschedprio, 2, STUB_pthread_setschedprio)
SYSCALL_LOOKUP(pthread_setspecific, 2, STUB_pthread_setspecific)
#ifdef CONFIG_SMP
- SYSCALL_LOOKUP(pthread_setaffinity, 3, STUB_pthread_setaffinity)
- SYSCALL_LOOKUP(pthread_getaffinity, 3, STUB_pthread_getaffinity)
+ SYSCALL_LOOKUP(pthread_setaffinity_np, 3, STUB_pthread_setaffinity_np)
+ SYSCALL_LOOKUP(pthread_getaffinity_np, 3, STUB_pthread_getaffinity_np)
#endif
SYSCALL_LOOKUP(pthread_cond_timedwait, 3, STUB_pthread_cond_timedwait)
SYSCALL_LOOKUP(pthread_kill, 2, STUB_pthread_kill)
diff --git a/syscall/syscall_stublookup.c b/syscall/syscall_stublookup.c
index 4c23470..2dcfcde 100644
--- a/syscall/syscall_stublookup.c
+++ b/syscall/syscall_stublookup.c
@@ -320,9 +320,9 @@ uintptr_t STUB_pthread_setschedprio(int nbr, uintptr_t parm1,
uintptr_t STUB_pthread_setspecific(int nbr, uintptr_t parm1,
uintptr_t parm2);
-uintptr_t STUB_pthread_setaffinity(int nbr, uintptr_t parm1,
+uintptr_t STUB_pthread_setaffinity_np(int nbr, uintptr_t parm1,
uintptr_t parm2, uintptr_t parm3);
-uintptr_t STUB_pthread_getaffinity(int nbr, uintptr_t parm1,
+uintptr_t STUB_pthread_getaffinity_np(int nbr, uintptr_t parm1,
uintptr_t parm2, uintptr_t parm3);
uintptr_t STUB_pthread_cond_timedwait(int nbr, uintptr_t parm1,