mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move lowlevellock into libc [BZ #15648]
And export __lll_lock_wait and __lll_lock_wait_private as GLIBC_PRIVATE. This should eliminate the need for the previous riscv kludge.
This commit is contained in:
@@ -35,10 +35,8 @@ __lll_lock_wait_private (int *futex)
|
||||
futex_wait ((unsigned int *) futex, 2, LLL_PRIVATE); /* Wait if *futex == 2. */
|
||||
}
|
||||
}
|
||||
libc_hidden_def (__lll_lock_wait_private)
|
||||
|
||||
|
||||
/* This function doesn't get included in libc. */
|
||||
#if IS_IN (libpthread)
|
||||
void
|
||||
__lll_lock_wait (int *futex, int private)
|
||||
{
|
||||
@@ -52,4 +50,4 @@ __lll_lock_wait (int *futex, int private)
|
||||
futex_wait ((unsigned int *) futex, 2, private); /* Wait if *futex == 2. */
|
||||
}
|
||||
}
|
||||
#endif
|
||||
libc_hidden_def (__lll_lock_wait)
|
||||
|
Reference in New Issue
Block a user