about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/i386/pt-machine.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-21 12:25:07 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-21 12:25:07 +0000
commitd17a729b483109285ac4913c3fe4f2c620b87fc6 (patch)
tree17c9ddc622b007d816c3b1a9d4e2499dde926da3 /linuxthreads/sysdeps/i386/pt-machine.h
parent095827866f985081ad64a5eea34c0fe5df854e32 (diff)
downloadglibc-d17a729b483109285ac4913c3fe4f2c620b87fc6.tar.gz
glibc-d17a729b483109285ac4913c3fe4f2c620b87fc6.tar.xz
glibc-d17a729b483109285ac4913c3fe4f2c620b87fc6.zip
Update.
1998-12-21  Ulrich Drepper  <drepper@cygnus.com>

	* inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
	anyway for digits_dots.c.
	* nss/getXXbyYY.c: Initialize _res before using digits_dots.c
	functions.
	* nss/getXXbyYY_r.c: Likewise.

1998-12-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of 
	fcntl.
 
1998-12-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* locale/weight.h (get_weight): Extract string elements as 
	unsigned values. 
 
Diffstat (limited to 'linuxthreads/sysdeps/i386/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/i386/pt-machine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h
index 88599467ad..97d75d4c04 100644
--- a/linuxthreads/sysdeps/i386/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/pt-machine.h
@@ -60,7 +60,8 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
 
   __asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0"
 			: "=q" (ret), "=m" (*p), "=a" (readval)
-			: "r" (newval), "m" (*p), "a" (oldval));
+			: "r" (newval), "m" (*p), "a" (oldval)
+			: "memory");
   return ret;
 }