mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
tls: Move task_tls_alloc and task_tls_destruct to libc
so task_tls_destruct can be called from usrspace, which is required by: https://github.com/apache/nuttx/pull/10288 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
cb8df39207
commit
47faeeb360
@@ -112,10 +112,6 @@ SYSCALL_LOOKUP(task_setcancelstate, 2)
|
||||
SYSCALL_LOOKUP(task_testcancel, 0)
|
||||
#endif
|
||||
|
||||
#if CONFIG_TLS_TASK_NELEM > 0
|
||||
SYSCALL_LOOKUP(task_tls_alloc, 1)
|
||||
#endif
|
||||
|
||||
/* The following can be individually enabled */
|
||||
|
||||
#ifdef CONFIG_ARCH_HAVE_FORK
|
||||
|
||||
Reference in New Issue
Block a user