[COMMITTED PATCH] x86: Remove an extra space before THREAD_SELF
H.J. Lu
hjl.tools@gmail.com
Fri Aug 22 02:34:47 GMT 2025
After
f6dd43d5f7 i386: Remove stalled __GNUC_PREREQ (6, 0) test in THREAD_SELF()
b0f0c41a5f x86_64: Remove stalled __GNUC_PREREQ (6, 0) test in THREAD_SELF()
removed the unnecessary __GNUC_PREREQ (6, 0) test, remove the extra space
before THREAD_SELF macro name.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
sysdeps/i386/nptl/tls.h | 2 +-
sysdeps/x86_64/nptl/tls.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysdeps/i386/nptl/tls.h b/sysdeps/i386/nptl/tls.h
index d01bc3ac9e..35202b0964 100644
--- a/sysdeps/i386/nptl/tls.h
+++ b/sysdeps/i386/nptl/tls.h
@@ -222,7 +222,7 @@ tls_fill_user_desc (union user_desc_init *desc,
/* Return the thread descriptor for the current thread. */
-# define THREAD_SELF \
+# define THREAD_SELF \
(*(struct pthread *__seg_gs *) offsetof (struct pthread, header.self))
/* Magic for libthread_db to know how to do THREAD_SELF. */
diff --git a/sysdeps/x86_64/nptl/tls.h b/sysdeps/x86_64/nptl/tls.h
index 29b028cdcd..683f8bfdfc 100644
--- a/sysdeps/x86_64/nptl/tls.h
+++ b/sysdeps/x86_64/nptl/tls.h
@@ -169,7 +169,7 @@ _Static_assert (offsetof (tcbhead_t, __glibc_unused2) == 0x80,
/* Return the thread descriptor for the current thread. */
-# define THREAD_SELF \
+# define THREAD_SELF \
(*(struct pthread *__seg_fs *) offsetof (struct pthread, header.self))
/* Magic for libthread_db to know how to do THREAD_SELF. */
--
2.50.1
More information about the Libc-alpha
mailing list