1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

hurd: make lll_* take a variable instead of a ptr

To be coherent with other ports, let's make lll_* take a variable, and
rename those that keep taking a ptr into __lll_*.
This commit is contained in:
Samuel Thibault
2020-12-13 10:37:24 +00:00
parent 18c2ab9a09
commit bec412424e
14 changed files with 76 additions and 60 deletions

View File

@ -57,7 +57,7 @@ extern void __spin_lock (__spin_lock_t *__lock);
_EXTERN_INLINE void
__spin_lock (__spin_lock_t *__lock)
{
lll_lock (__lock, 0);
__lll_lock (__lock, 0);
}
#endif
@ -68,7 +68,7 @@ extern void __spin_unlock (__spin_lock_t *__lock);
_EXTERN_INLINE void
__spin_unlock (__spin_lock_t *__lock)
{
lll_unlock (__lock, 0);
__lll_unlock (__lock, 0);
}
#endif
@ -79,7 +79,7 @@ extern int __spin_try_lock (__spin_lock_t *__lock);
_EXTERN_INLINE int
__spin_try_lock (__spin_lock_t *__lock)
{
return (lll_trylock (__lock) == 0);
return (__lll_trylock (__lock) == 0);
}
#endif