about summary refs log tree commit diff
path: root/nptl/sysdeps/sh
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-03-15 11:44:47 +0000
committerJakub Jelinek <jakub@redhat.com>2003-03-15 11:44:47 +0000
commiteec0ca9f259d04db3e0dde1ad1d89fce32f72b8c (patch)
tree8cd25020c8224d30308a1862a48301e36a30285e /nptl/sysdeps/sh
parent1419a9581c56bf2ca32824aa013e7ced4e5ea65e (diff)
downloadglibc-eec0ca9f259d04db3e0dde1ad1d89fce32f72b8c.tar.gz
glibc-eec0ca9f259d04db3e0dde1ad1d89fce32f72b8c.tar.xz
glibc-eec0ca9f259d04db3e0dde1ad1d89fce32f72b8c.zip
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
	(SINGLE_THREAD): Use `header' prefix instead of `header.data'.
	* sysdeps/sh/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
	* sysdeps/sh/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define.
	* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (SINGLE_THREAD_P):
	Use `header.' prefix.
	* sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
Diffstat (limited to 'nptl/sysdeps/sh')
-rw-r--r--nptl/sysdeps/sh/tcb-offsets.sym2
-rw-r--r--nptl/sysdeps/sh/tls.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/nptl/sysdeps/sh/tcb-offsets.sym b/nptl/sysdeps/sh/tcb-offsets.sym
index ae14fa00e9..3386f1d056 100644
--- a/nptl/sysdeps/sh/tcb-offsets.sym
+++ b/nptl/sysdeps/sh/tcb-offsets.sym
@@ -1,5 +1,5 @@
 #include <sysdep.h>
 #include <tls.h>
 
-MULTIPLE_THREADS_OFFSET		offsetof (struct pthread, header.data.multiple_threads)
+MULTIPLE_THREADS_OFFSET		offsetof (struct pthread, header.multiple_threads)
 TLS_PRE_TCB_SIZE		sizeof (struct pthread)
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h
index b92b0b81d5..9c268d4d97 100644
--- a/nptl/sysdeps/sh/tls.h
+++ b/nptl/sysdeps/sh/tls.h
@@ -39,6 +39,8 @@ typedef struct
   void *private;
 } tcbhead_t;
 
+# define TLS_MULTIPLE_THREADS_IN_TCB 1
+
 #else /* __ASSEMBLER__ */
 # include <tcb-offsets.h>
 #endif /* __ASSEMBLER__ */