Skip to content

Commit

Permalink
* sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TM
Browse files Browse the repository at this point in the history
	implementation.  Add necessary padding and.
	* descr.h (struct pthread): Increase padding for tcbhead_t to 24
	words.
  • Loading branch information
Ulrich Drepper committed Dec 8, 2008
1 parent 9e9b8cb commit 71bb263
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2008-12-08 Ulrich Drepper <drepper@redhat.com>

* sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TM
implementation. Add necessary padding and.
* descr.h (struct pthread): Increase padding for tcbhead_t to 24
words.

2008-12-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Define FUTEX_WAIT_BITSET
Expand Down
10 changes: 9 additions & 1 deletion nptl/sysdeps/x86_64/tls.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Definition for thread-local data handling. nptl/x86_64 version.
Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
Copyright (C) 2002-2007, 2008 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
Expand Down Expand Up @@ -28,6 +28,7 @@
# include <stdlib.h>
# include <sysdep.h>
# include <kernel-features.h>
# include <bits/wordsize.h>


/* Type for the dtv. */
Expand Down Expand Up @@ -56,7 +57,14 @@ typedef struct
unsigned long int vgetcpu_cache[2];
#ifndef __ASSUME_PRIVATE_FUTEX
int private_futex;
#else
int __unused1;
#endif
#if __WORDSIZE == 64
int __pad1;
#endif
/* Reservation of some values for the TM ABI. */
void *__private_tm[5];
} tcbhead_t;

#else /* __ASSEMBLER__ */
Expand Down

0 comments on commit 71bb263

Please sign in to comment.