Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2001-05-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
	parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
  • Loading branch information
Ulrich Drepper committed May 17, 2001
1 parent 304d7ab commit fb22169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2001-05-17 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.

2001-05-14 Bruno Haible <haible@clisp.cons.org>

* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/i486/atomicity.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ __attribute__ ((unused))
exchange_and_add (volatile uint32_t *mem, uint32_t val)
{
register uint32_t result;
__asm__ __volatile__ ("lock; xaddl %0,%2"
__asm__ __volatile__ ("lock; xaddl %0,%1"
: "=r" (result), "=m" (*mem) : "0" (val), "1" (*mem));
return result;
}
Expand Down

0 comments on commit fb22169

Please sign in to comment.