diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-04-26 04:50:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-04-26 04:50:57 +0000 |
commit | ec08f13dad2a25a407f4aff76b406924c91193ec (patch) | |
tree | 44570892b815a8bcbe7b5e08bec59c2ae7734182 /nptl | |
parent | 46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc (diff) | |
download | glibc-ec08f13dad2a25a407f4aff76b406924c91193ec.zip glibc-ec08f13dad2a25a407f4aff76b406924c91193ec.tar.gz glibc-ec08f13dad2a25a407f4aff76b406924c91193ec.tar.bz2 |
* 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')
-rw-r--r-- | nptl/sysdeps/x86_64/tcb-offsets.sym | 1 |
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 a9ede75..21274ec 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) |