diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-11-23 10:38:12 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-11-25 10:43:18 -0300 |
commit | b45b1c5ba1df4d0315ffdd00a040ff9bc0597a8d (patch) | |
tree | 635d26de59ee085627b6b36ee4116c27f74563c6 /nptl/pthread_mutex_setprioceiling.c | |
parent | 2a45be88ed4753a9756d840b3182a87f2ae1200b (diff) | |
download | glibc-b45b1c5ba1df4d0315ffdd00a040ff9bc0597a8d.zip glibc-b45b1c5ba1df4d0315ffdd00a040ff9bc0597a8d.tar.gz glibc-b45b1c5ba1df4d0315ffdd00a040ff9bc0597a8d.tar.bz2 |
nptl: Replace lll_futex_wake with futex-internal.h
The idea is to make NPTL implementation to use on the functions
provided by futex-internal.h.
Checked on x86_64-linux-gnu and i686-linux-gnu.
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'nptl/pthread_mutex_setprioceiling.c')
-rw-r--r-- | nptl/pthread_mutex_setprioceiling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_mutex_setprioceiling.c b/nptl/pthread_mutex_setprioceiling.c index cbef202..8f1d6e1 100644 --- a/nptl/pthread_mutex_setprioceiling.c +++ b/nptl/pthread_mutex_setprioceiling.c @@ -116,8 +116,8 @@ pthread_mutex_setprioceiling (pthread_mutex_t *mutex, int prioceiling, | (prioceiling << PTHREAD_MUTEX_PRIO_CEILING_SHIFT); atomic_full_barrier (); - lll_futex_wake (&mutex->__data.__lock, INT_MAX, - PTHREAD_MUTEX_PSHARED (mutex)); + futex_wake ((unsigned int *)&mutex->__data.__lock, INT_MAX, + PTHREAD_MUTEX_PSHARED (mutex)); return 0; } |