about summary refs log tree commit diff
path: root/sysdeps/i386/i486/bits/atomic.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-17 06:47:13 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-17 06:47:13 +0000
commit771519375a3b585e3251e88a9cc0f04ac20fb06e (patch)
tree3e3f3a44ddd2a64c9eaa6853ebeb7c6f8dcb520a /sysdeps/i386/i486/bits/atomic.h
parent8c6d104340c5e18f22943017fb00a6acd43456b3 (diff)
downloadglibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.tar.gz
glibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.tar.xz
glibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.zip
[BZ #3851]
2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3851]
	* locales/bn_BD: Fix full name of January and February.
	Patch by Jamil Ahmed <jamil@bengalinux.org>.
Diffstat (limited to 'sysdeps/i386/i486/bits/atomic.h')
-rw-r--r--sysdeps/i386/i486/bits/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/i486/bits/atomic.h b/sysdeps/i386/i486/bits/atomic.h
index 2684a1537e..21eea7112c 100644
--- a/sysdeps/i386/i486/bits/atomic.h
+++ b/sysdeps/i386/i486/bits/atomic.h
@@ -507,7 +507,7 @@ typedef uintmax_t uatomic_max_t;
 			: "=m" (*mem)					      \
 			: "iq" (mask), "m" (*mem));			      \
     else if (sizeof (*mem) == 2)					      \
-      __asm __volatile (LOCK_PREFIX "andw %1, %w0"			      \
+      __asm __volatile (LOCK_PREFIX "andw %w1, %0"			      \
 			: "=m" (*mem)					      \
 			: "ir" (mask), "m" (*mem));			      \
     else if (sizeof (*mem) == 4)					      \
@@ -527,7 +527,7 @@ typedef uintmax_t uatomic_max_t;
 			: "iq" (mask), "m" (*mem),			      \
 			  "i" (offsetof (tcbhead_t, multiple_threads)));      \
     else if (sizeof (*mem) == 2)					      \
-      __asm __volatile (lock "orw %1, %w0"				      \
+      __asm __volatile (lock "orw %w1, %0"				      \
 			: "=m" (*mem)					      \
 			: "ir" (mask), "m" (*mem),			      \
 			  "i" (offsetof (tcbhead_t, multiple_threads)));      \