]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/x86/lowlevellock.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / x86 / lowlevellock.h
index 8a78dcff47888a970aa897e6f430ffda3bbee58f..727f9599487f51e1e3fa70e5286688c024857189 100644 (file)
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef _X86_64_LOWLEVELLOCK_H
 #define _X86_64_LOWLEVELLOCK_H 1
@@ -82,12 +82,13 @@ __lll_cas_lock (int *futex)
        __lll_unlock (&(lock), private);                                             \
    }))
 
-extern int __lll_timedlock_elision (int *futex, short *adapt_count,
-                                        const struct timespec *timeout,
-                                        int private) attribute_hidden;
+extern int __lll_clocklock_elision (int *futex, short *adapt_count,
+                                    clockid_t clockid,
+                                   const struct timespec *timeout,
+                                   int private) attribute_hidden;
 
-#define lll_timedlock_elision(futex, adapt_count, timeout, private)    \
-  __lll_timedlock_elision(&(futex), &(adapt_count), timeout, private)
+#define lll_clocklock_elision(futex, adapt_count, clockid, timeout, private) \
+  __lll_clocklock_elision (&(futex), &(adapt_count), clockid, timeout, private)
 
 extern int __lll_lock_elision (int *futex, short *adapt_count, int private)
   attribute_hidden;