aboutsummaryrefslogtreecommitdiff
path: root/nptl/descr.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/descr.h')
-rw-r--r--nptl/descr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index f3a9620a7b..3dd6e1293c 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -58,6 +58,8 @@ struct pthread
/* XXX Remove this union for IA-64 style TLS module */
union
{
+ /* It is very important to always append new elements. The offsets
+ of some of the elements of the struct are used in assembler code. */
struct
{
void *tcb; /* Pointer to the TCB. This is not always
@@ -65,6 +67,7 @@ struct pthread
union dtv *dtvp;
struct pthread *self; /* Pointer to this structure */
list_t list;
+ int multiple_threads;
} data;
void *__padding[16];
} header;