From ec08f13dad2a25a407f4aff76b406924c91193ec Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Apr 2007 04:50:57 +0000 Subject: * 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. --- nptl/sysdeps/x86_64/tcb-offsets.sym | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl') 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) -- cgit v1.1