projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64
[musl]
/
src
/
thread
/
pthread_setcancelstate.c
diff --git
a/src/thread/pthread_setcancelstate.c
b/src/thread/pthread_setcancelstate.c
index
822a139
..
5ab8c33
100644
(file)
--- a/
src/thread/pthread_setcancelstate.c
+++ b/
src/thread/pthread_setcancelstate.c
@@
-3,7
+3,6
@@
int __pthread_setcancelstate(int new, int *old)
{
if (new > 2U) return EINVAL;
- if (!libc.has_thread_pointer) return ENOSYS;
struct pthread *self = __pthread_self();
if (old) *old = self->canceldisable;
self->canceldisable = new;