about summary refs log tree commit diff
path: root/nptl/sysdeps/x86_64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-26 04:50:57 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-26 04:50:57 +0000
commitec08f13dad2a25a407f4aff76b406924c91193ec (patch)
tree44570892b815a8bcbe7b5e08bec59c2ae7734182 /nptl/sysdeps/x86_64
parent46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc (diff)
downloadglibc-ec08f13dad2a25a407f4aff76b406924c91193ec.tar.gz
glibc-ec08f13dad2a25a407f4aff76b406924c91193ec.tar.xz
glibc-ec08f13dad2a25a407f4aff76b406924c91193ec.zip
* sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.
	* sysdeps/unix/sysv/linux/sched_getcpu.c: New file.
	* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file.
	* sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for
	GLIBC_2.6.
Diffstat (limited to 'nptl/sysdeps/x86_64')
-rw-r--r--nptl/sysdeps/x86_64/tcb-offsets.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/x86_64/tcb-offsets.sym b/nptl/sysdeps/x86_64/tcb-offsets.sym
index a9ede75c96..21274ecab9 100644
--- a/nptl/sysdeps/x86_64/tcb-offsets.sym
+++ b/nptl/sysdeps/x86_64/tcb-offsets.sym
@@ -11,3 +11,4 @@ CLEANUP_PREV		offsetof (struct _pthread_cleanup_buffer, __prev)
 MUTEX_FUTEX		offsetof (pthread_mutex_t, __data.__lock)
 MULTIPLE_THREADS_OFFSET	offsetof (tcbhead_t, multiple_threads)
 POINTER_GUARD		offsetof (tcbhead_t, pointer_guard)
+VGETCPU_CACHE_OFFSET	offsetof (tcbhead_t, vgetcpu_cache)