summaryrefslogtreecommitdiff
path: root/cpukit/include/rtems/score/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/score/tls.h')
-rw-r--r--cpukit/include/rtems/score/tls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/tls.h b/cpukit/include/rtems/score/tls.h
index 1b9dae11b1..bfe6ff3a6b 100644
--- a/cpukit/include/rtems/score/tls.h
+++ b/cpukit/include/rtems/score/tls.h
@@ -73,10 +73,12 @@ typedef struct {
typedef struct TLS_Thread_control_block {
#ifdef __i386__
struct TLS_Thread_control_block *tcb;
-#else
+#else /* !__i386__ */
TLS_Dynamic_thread_vector *dtv;
+#if CPU_SIZEOF_POINTER == 4
uintptr_t reserved;
#endif
+#endif /* __i386__ */
} TLS_Thread_control_block;
typedef struct {