diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-08-21 19:29:58 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-08-21 19:32:30 -0700 |
commit | bb7fb0f1a7e1a1de6a15161a726e34a2017ac970 (patch) | |
tree | 42f852f2745e9d906218d02922217f98efdb02bd | |
parent | b0f0c41a5fd82edb5435d0fd1f7beb161fd12873 (diff) | |
download | glibc-bb7fb0f1a7e1a1de6a15161a726e34a2017ac970.zip glibc-bb7fb0f1a7e1a1de6a15161a726e34a2017ac970.tar.gz glibc-bb7fb0f1a7e1a1de6a15161a726e34a2017ac970.tar.bz2 |
x86: Remove an extra space before THREAD_SELF
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>
-rw-r--r-- | sysdeps/i386/nptl/tls.h | 2 | ||||
-rw-r--r-- | 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 d01bc3a..35202b0 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 29b028c..683f8bf 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. */ |