[PATCH 2/2] aarch64: Use __glibc_likely macro in comment in dl-tlsdesc.S

Yury Khrustalev <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
This is to have uniform code style across all code in sysdeps/aarch64.
---
 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();
-- 
2.47.3
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.