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:
Rich Felker 2012-07-11 11:34:46 -04:00
parent 6315004f61
commit d0bfbd9dca

View File

@ -2,5 +2,9 @@
int __set_thread_area(void *p)
{
return -1;
#ifdef SYS_set_thread_area
return __syscall(SYS_set_thread_area, p);
#else
return -ENOSYS;
#endif
}