]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
misc, nptl: Remove stray references to __condvar_load_64_relaxed
authorFlorian Weimer <fweimer@redhat.com>
Mon, 6 Dec 2021 07:01:08 +0000 (08:01 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 6 Dec 2021 07:01:08 +0000 (08:01 +0100)
The function was renamed to __atomic_wide_counter_load_relaxed
in commit 8bd336a00a5311bf7a9e99b3b0e9f01ff5faa74b ("nptl: Extract
<bits/atomic_wide_counter.h> from pthread_cond_common.c").

misc/atomic_wide_counter.c
nptl/pthread_cond_common.c

index 56d898192573193e20fc5369375b091a98b0aff6..6d395197e74dd6c56e4235df5311ba186b422192 100644 (file)
@@ -72,11 +72,11 @@ __atomic_wide_counter_fetch_add_relaxed (__atomic_wide_counter *c,
          add operations are ordered in happens-before.  */
       h++;
       /* S2. Release MO to synchronize with the loads of the higher-order half
-         in the load operation.  See __condvar_load_64_relaxed.  */
+         in the load operation.  See __atomic_wide_counter_load_relaxed.  */
       atomic_store_release (&c->__value32.__high,
                             h | ((unsigned int) 1 << 31));
       l ^= (unsigned int) 1 << 31;
-      /* S3.  See __condvar_load_64_relaxed.  */
+      /* S3.  See __atomic_wide_counter_load_relaxed.  */
       atomic_store_release (&c->__value32.__low, l);
       /* S4.  Likewise.  */
       atomic_store_release (&c->__value32.__high, h);
index fb56f93b6ea5a949c7a455d8b12ee459ba18a550..78e87382103390404b0042f87d82f478e36b451f 100644 (file)
@@ -75,7 +75,7 @@ __condvar_fetch_xor_wseq_release (pthread_cond_t *cond, unsigned int val)
 static uint64_t __attribute__ ((unused))
 __condvar_fetch_xor_wseq_release (pthread_cond_t *cond, unsigned int val)
 {
-  /* First, get the current value.  See __condvar_load_64_relaxed.  */
+  /* First, get the current value.  See __atomic_wide_counter_load_relaxed.  */
   unsigned int h, l, h2;
   do
     {