From bb7fb0f1a7e1a1de6a15161a726e34a2017ac970 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 21 Aug 2025 19:29:58 -0700 Subject: [PATCH] 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 --- 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.47.2