aboutsummaryrefslogtreecommitdiff
path: root/nptl/lowlevellock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/lowlevellock.c')
-rw-r--r--nptl/lowlevellock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/lowlevellock.c b/nptl/lowlevellock.c
index f69547a235..973df4d03a 100644
--- a/nptl/lowlevellock.c
+++ b/nptl/lowlevellock.c
@@ -18,7 +18,7 @@
<https://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <lowlevellock.h>
+#include <futex-internal.h>
#include <atomic.h>
#include <stap-probe.h>
@@ -32,7 +32,7 @@ __lll_lock_wait_private (int *futex)
{
futex:
LIBC_PROBE (lll_lock_wait_private, 1, futex);
- lll_futex_wait (futex, 2, LLL_PRIVATE); /* Wait if *futex == 2. */
+ futex_wait ((unsigned int *) futex, 2, LLL_PRIVATE); /* Wait if *futex == 2. */
}
}
@@ -49,7 +49,7 @@ __lll_lock_wait (int *futex, int private)
{
futex:
LIBC_PROBE (lll_lock_wait, 1, futex);
- lll_futex_wait (futex, 2, private); /* Wait if *futex == 2. */
+ futex_wait ((unsigned int *) futex, 2, private); /* Wait if *futex == 2. */
}
}
#endif