atomicity.h (__compare_and_swap): Fix typo.

2001-02-19  Andreas Jaeger  <aj@suse.de>

	* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
	Fix typo.

From-SVN: r39886
This commit is contained in:
Andreas Jaeger 2001-02-19 16:41:46 +01:00 committed by Andreas Jaeger
parent 0eac0e81c4
commit c62ea79568
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-02-19 Andreas Jaeger <aj@suse.de>
* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
Fix typo.
2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
libstdc++/1734

View File

@ -1,5 +1,5 @@
/* Low-level functions for atomic operations. Sparc64 version.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -61,7 +61,7 @@ static inline int
__attribute__ ((__unused__))
__compare_and_swap (volatile long *__p, long __oldval, long __newval)
{
register int __tmp,
register int __tmp;
register long __tmp2;
__asm__ __volatile__("1: ldx [%4], %0\n\t"