mirror of
git://git.musl-libc.org/musl
synced 2024-12-23 23:23:12 +00:00
generic c version of __set_thread_area for archs where it works
on other archs, like x86[_64], asm version is required
This commit is contained in:
parent
6315004f61
commit
d0bfbd9dca
@ -2,5 +2,9 @@
|
|||||||
|
|
||||||
int __set_thread_area(void *p)
|
int __set_thread_area(void *p)
|
||||||
{
|
{
|
||||||
return -1;
|
#ifdef SYS_set_thread_area
|
||||||
|
return __syscall(SYS_set_thread_area, p);
|
||||||
|
#else
|
||||||
|
return -ENOSYS;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user