This is the rest of 627f5ede70d7 ("Remove TLS_TCB_ALIGN and
TLS_INIT_TCB_ALIGN"), for loongarch and or1k which missed it.
---
 sysdeps/loongarch/nptl/tls.h | 6 ------
 sysdeps/or1k/nptl/tls.h      | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/sysdeps/loongarch/nptl/tls.h b/sysdeps/loongarch/nptl/tls.h
index 61acb6145f..93d718e78e 100644
--- a/sysdeps/loongarch/nptl/tls.h
+++ b/sysdeps/loongarch/nptl/tls.h
@@ -50,16 +50,10 @@ typedef struct
    pointer, we don't need this.  */
 #define TLS_INIT_TCB_SIZE 0
 
-/* Alignment requirements for the initial TCB.  */
-#define TLS_INIT_TCB_ALIGN __alignof__(struct pthread)
-
 /* This is the size of the TCB.  Because our TCB is before the thread
    pointer, we don't need this.  */
 #define TLS_TCB_SIZE 0
 
-/* Alignment requirements for the TCB.  */
-#define TLS_TCB_ALIGN __alignof__(struct pthread)
-
 /* This is the size we need before TCB - actually, it includes the TCB.  */
 #define TLS_PRE_TCB_SIZE \
   (sizeof (struct pthread) \
diff --git a/sysdeps/or1k/nptl/tls.h b/sysdeps/or1k/nptl/tls.h
index f93fcb893b..4331bd614d 100644
--- a/sysdeps/or1k/nptl/tls.h
+++ b/sysdeps/or1k/nptl/tls.h
@@ -65,10 +65,7 @@ register tcbhead_t *__thread_self __asm__("r10");
 
 /* Requirements for the TCB.  */
 # define TLS_INIT_TCB_SIZE    sizeof (tcbhead_t)
-# define TLS_INIT_TCB_ALIGN   __alignof__ (struct pthread)
-
 # define TLS_TCB_SIZE         sizeof (tcbhead_t)
-# define TLS_TCB_ALIGN        __alignof__ (struct pthread)
 
 /* This is the size of the TCB.  */
 
-- 
2.51.0


Reply via email to