public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* TLS_MULTIPLE_THREADS_IN_TCB build fix
@ 2003-04-26 18:47 Andreas Schwab
  2003-04-26 18:53 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2003-04-26 18:47 UTC (permalink / raw)
  To: libc-hacker

This fixes building on ppc with TLS.

Andreas.

2003-04-26  Andreas Schwab  <schwab@suse.de>

	* pthread.c (__pthread_initialize_manager): Fix use of
	p_multiple_threads.

--- linuxthreads/pthread.c.~1.124.~	2003-04-26 18:45:06.000000000 +0200
+++ linuxthreads/pthread.c	2003-04-26 20:32:09.000000000 +0200
@@ -622,7 +622,7 @@ int __pthread_initialize_manager(void)
   mgr->p_header.data.self = mgr;
   mgr->p_header.data.multiple_threads = 1;
 #elif TLS_MULTIPLE_THREADS_IN_TCB
-  p_multiple_threads (mgr) = 1;
+  mgr->p_multiple_threads = 1;
 #endif
   mgr->p_lock = &__pthread_handles[1].h_lock;
 # ifndef HAVE___THREAD

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TLS_MULTIPLE_THREADS_IN_TCB build fix
  2003-04-26 18:47 TLS_MULTIPLE_THREADS_IN_TCB build fix Andreas Schwab
@ 2003-04-26 18:53 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-04-26 18:53 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Schwab wrote:
> This fixes building on ppc with TLS.

I've already changed this.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+qtVi2ijCOnn/RHQRAubhAKCTQENC41fv2QrO6iyz1HT3NQ7PUQCffL4X
Va9Nb6UmSVG+gzMov/fTmi4=
=B5CX
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-26 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-26 18:47 TLS_MULTIPLE_THREADS_IN_TCB build fix Andreas Schwab
2003-04-26 18:53 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).