summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-10 21:42:52 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-10 21:42:52 +0000
commit106f6f9d9d9e09a4ea3628824a13443836e0fd2c (patch)
treeae1dce2a4e45a5d44c03a48e58440def5d3e883c /nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
parent0be8ee21f050da8b59694b6398740d8fed1b9709 (diff)
downloadglibc-106f6f9d9d9e09a4ea3628824a13443836e0fd2c.tar.gz
Update.
* sysdeps/unix/sysv/linux/s390/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/s390/sem_post.c: Include lowlevellock.h instead of lowlevelsem.h. * sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/s390/sem_trywait.c: Likewise. * sysdeps/unix/sysv/linux/s390/sem_wait.c: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/s390/sem_post.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/sem_post.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c b/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
index b573532a32..6bf577bc5f 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
+++ b/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sysdep.h>
-#include <lowlevelsem.h>
+#include <lowlevellock.h>
#include <internaltypes.h>
#include <shlib-compat.h>
@@ -33,10 +33,10 @@ __new_sem_post (sem_t *sem)
int err;
lll_compare_and_swap ((int *) sem, oldval, newval, "lr %2,%1; ahi %2,1");
- err = lll_futex_wake(((int *) sem), newval);
+ err = lll_futex_wake ((int *) sem, newval);
if (err < 0)
{
- __set_errno(-err);
+ __set_errno (-err);
return -1;
}
return 0;