projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new internal locking primitive; drop spinlocks
[musl]
/
src
/
select
/
poll.c
diff --git
a/src/select/poll.c
b/src/select/poll.c
index
e92943e
..
f1e73e8
100644
(file)
--- a/
src/select/poll.c
+++ b/
src/select/poll.c
@@
-4,9
+4,5
@@
int poll(struct pollfd *fds, nfds_t n, int timeout)
{
- int r;
- CANCELPT_BEGIN;
- r = syscall3(__NR_poll, (long)fds, n, timeout);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_poll, fds, n, timeout);
}