aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-05 21:28:04 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-05 21:28:04 +0000
commitf172bca008ced78b7b12397567091da3b789a2bf (patch)
tree4d27b53f35db9d162c7402c07bd7348fbdb8a71d /linuxthreads
parent2e3b99764abe1575810b544af05c31cf71edab63 (diff)
downloadglibc-f172bca008ced78b7b12397567091da3b789a2bf.tar
glibc-f172bca008ced78b7b12397567091da3b789a2bf.tar.gz
glibc-f172bca008ced78b7b12397567091da3b789a2bf.tar.bz2
glibc-f172bca008ced78b7b12397567091da3b789a2bf.zip
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog2
-rw-r--r--linuxthreads/sysdeps/mips/pspinlock.c3
-rw-r--r--linuxthreads/sysdeps/mips/pt-machine.h6
3 files changed, 4 insertions, 7 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 43d0c6c010..feb7f31b24 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -3,7 +3,7 @@
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't set mips2.
* sysdeps/mips/pt-machine.h (testandset): Likewise.
(__compare_and_swap): Likewise.
- Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
+ Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-11-20 Jakub Jelinek <jakub@redhat.com>
diff --git a/linuxthreads/sysdeps/mips/pspinlock.c b/linuxthreads/sysdeps/mips/pspinlock.c
index caa82e38eb..7df3040bda 100644
--- a/linuxthreads/sysdeps/mips/pspinlock.c
+++ b/linuxthreads/sysdeps/mips/pspinlock.c
@@ -32,8 +32,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
unsigned int tmp;
asm volatile
- (".set mips2\n\t"
- "\t\t\t# spin_lock\n\t"
+ ("\t\t\t# spin_lock\n\t"
"1:\n\t"
"ll %1,%2\n\t"
".set push\n\t"
diff --git a/linuxthreads/sysdeps/mips/pt-machine.h b/linuxthreads/sysdeps/mips/pt-machine.h
index 7b4ef61857..16e264017d 100644
--- a/linuxthreads/sysdeps/mips/pt-machine.h
+++ b/linuxthreads/sysdeps/mips/pt-machine.h
@@ -41,8 +41,7 @@ testandset (int *spinlock)
long int ret, temp;
__asm__ __volatile__
- (".set mips2\n\t"
- "/* Inline spinlock test & set */\n\t"
+ ("/* Inline spinlock test & set */\n\t"
"1:\n\t"
"ll %0,%3\n\t"
".set push\n\t"
@@ -88,8 +87,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
long int ret;
__asm__ __volatile__
- (".set mips2\n\t"
- "/* Inline compare & swap */\n\t"
+ ("/* Inline compare & swap */\n\t"
"1:\n\t"
"ll %0,%4\n\t"
".set push\n"