[glibc] aarch64: Use __glibc_likely macro in comment in dl-tlsdesc.S

Yury Khrustalev via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87a79abe92a0c6b8e378a2ba8de6a22421619425

commit 87a79abe92a0c6b8e378a2ba8de6a22421619425
Author: Yury Khrustalev <[email protected]>
Date:   Fri Aug 7 13:26:55 2026 +0100

    aarch64: Use __glibc_likely macro in comment in dl-tlsdesc.S
    
    This is to have uniform code style across all code in sysdeps/aarch64.
    
    Reviewed-by: Wilco Dijkstra  <[email protected]>

Diff:
---
 sysdeps/aarch64/dl-tlsdesc.S | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sysdeps/aarch64/dl-tlsdesc.S b/sysdeps/aarch64/dl-tlsdesc.S
index cdde3cbf57..1ae4b557c2 100644
--- a/sysdeps/aarch64/dl-tlsdesc.S
+++ b/sysdeps/aarch64/dl-tlsdesc.S
@@ -123,10 +123,9 @@ _dl_tlsdesc_undefweak:
 	   {
 	     struct tlsdesc_dynamic_arg *td = tdp->arg;
 	     dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer() + TCBHEAD_DTV);
-	     if (__builtin_expect (td->gen_count <= dtv[0].counter
+	     if (__glibc_likely (td->gen_count <= dtv[0].counter
 		&& (dtv[td->tlsinfo.ti_module].pointer.val
-		    != TLS_DTV_UNALLOCATED),
-		1))
+		    != TLS_DTV_UNALLOCATED)))
 	       return dtv[td->tlsinfo.ti_module].pointer.val
 		+ td->tlsinfo.ti_offset
 		- __thread_pointer();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.