aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-26 04:44:47 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-26 04:44:47 +0000
commit46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc (patch)
tree823e86e6c3f8a2b33f6479dce3804be60dcc7d06
parent41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2 (diff)
downloadglibc-46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc.tar
glibc-46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc.tar.gz
glibc-46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc.tar.bz2
glibc-46d51e9bd35a1d9d9af8398466a0db2bf88ae5bc.zip
(tcbhead_t): Add vgetcpu_cache.
-rw-r--r--nptl/sysdeps/x86_64/tls.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index 7618573e0b..0b5aeb00ff 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -1,5 +1,5 @@
/* Definition for thread-local data handling. nptl/x86_64 version.
- Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,7 +42,7 @@ typedef union dtv
typedef struct
{
- void *tcb; /* Pointer to the TCB. Not necessary the
+ void *tcb; /* Pointer to the TCB. Not necessarily the
thread descriptor used by libpthread. */
dtv_t *dtv;
void *self; /* Pointer to the thread descriptor. */
@@ -50,6 +50,7 @@ typedef struct
uintptr_t sysinfo;
uintptr_t stack_guard;
uintptr_t pointer_guard;
+ unsigned long int vgetcpu_cache[2];
} tcbhead_t;
#else /* __ASSEMBLER__ */