aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-11 18:56:41 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-11 18:56:41 +0000
commit854f9ec4a67d903e31007a3d4bad0bdada53758a (patch)
tree27e2830d1552a59215c8945cfbe16382ca035aab
parentd087b5dc6bb52cf879e0aee33395e9cc4e3ee847 (diff)
downloadglibc-854f9ec4a67d903e31007a3d4bad0bdada53758a.zip
glibc-854f9ec4a67d903e31007a3d4bad0bdada53758a.tar.gz
glibc-854f9ec4a67d903e31007a3d4bad0bdada53758a.tar.bz2
Update.
2003-09-11 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/pt-machine.h [MEMORY_BARRIER]: Use lwsync. [READ_MEMORY_BARRIER]: Define. [WRITE_MEMORY_BARRIER]: Define.
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h4
-rw-r--r--nptl/Banner2
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h1
4 files changed, 10 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 56947bb..28993df 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-11 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/pt-machine.h [MEMORY_BARRIER]: Use lwsync.
+ [READ_MEMORY_BARRIER]: Define.
+ [WRITE_MEMORY_BARRIER]: Define.
+
2003-09-10 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move
diff --git a/linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h b/linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h
index f28e808..ac31495 100644
--- a/linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h
+++ b/linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h
@@ -34,7 +34,9 @@ extern int __compare_and_swap (long int *p, long int oldval, long int newval);
/* For multiprocessor systems, we want to ensure all memory accesses
are completed before we reset a lock. On other systems, we still
need to make sure that the compiler has flushed everything to memory. */
-#define MEMORY_BARRIER() __asm__ __volatile__ ("sync" : : : "memory")
+#define MEMORY_BARRIER() __asm__ __volatile__ ("lwsync" : : : "memory")
+#define READ_MEMORY_BARRIER() __asm__ __volatile__ ("lwsync" : : : "memory")
+#define WRITE_MEMORY_BARRIER() __asm__ __volatile__ ("eieio" : : : "memory")
/* We want the OS to assign stack addresses. */
#define FLOATING_STACKS 1
diff --git a/nptl/Banner b/nptl/Banner
index be11d5b..cc4ac69 100644
--- a/nptl/Banner
+++ b/nptl/Banner
@@ -1 +1 @@
-NPTL 0.57 by Ulrich Drepper
+NPTL 0.58 by Ulrich Drepper
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
index e31c27d..fc0a54c 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
@@ -80,7 +80,6 @@ typedef union
unsigned long long int __wakeup_seq;
unsigned long long int __woken_seq;
void *__mutex;
- int __locker;
} __data;
char __size[__SIZEOF_PTHREAD_COND_T];
long long int __align;