about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-15 07:04:50 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-15 07:04:50 +0000
commit1f9d7c2739c9442d07c5578920824abb4a3bf509 (patch)
tree6f29ac8743a35132ab5f43b9675bca8bc17ee215 /nptl/sysdeps
parent8a3f5844c508a67f4fe291236ca7dd73b3d71699 (diff)
downloadglibc-1f9d7c2739c9442d07c5578920824abb4a3bf509.tar.gz
glibc-1f9d7c2739c9442d07c5578920824abb4a3bf509.tar.xz
glibc-1f9d7c2739c9442d07c5578920824abb4a3bf509.zip
Update.
2004-12-14  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support
	for pid caching in nptl.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/powerpc/tcb-offsets.sym1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S3
2 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/nptl/sysdeps/powerpc/tcb-offsets.sym
index fddd466f08..a9701fb5b7 100644
--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
+++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
@@ -12,3 +12,4 @@
 MULTIPLE_THREADS_OFFSET		thread_offsetof (header.multiple_threads)
 #endif
 PID				thread_offsetof (pid)
+TID				thread_offsetof (tid)
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S b/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
new file mode 100644
index 0000000000..f87adf4737
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
@@ -0,0 +1,3 @@
+#define RESET_PID
+#include <tcb-offsets.h>
+#include <sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S>