From d07fde06aebe03b9031041ccff6691861d20ad24 Mon Sep 17 00:00:00 2001 From: "Nakamura, Yuuichi" Date: Thu, 7 May 2020 16:25:18 +0900 Subject: [PATCH] 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 845ddc5a7d0..9fd1c2d56b0 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 4c23470e5bd..2dcfcdec2a6 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,