mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
0eac0e81c4
commit
c62ea79568
|
|
@ -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>
|
2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
|
||||||
|
|
||||||
libstdc++/1734
|
libstdc++/1734
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* Low-level functions for atomic operations. Sparc64 version.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -61,7 +61,7 @@ static inline int
|
||||||
__attribute__ ((__unused__))
|
__attribute__ ((__unused__))
|
||||||
__compare_and_swap (volatile long *__p, long __oldval, long __newval)
|
__compare_and_swap (volatile long *__p, long __oldval, long __newval)
|
||||||
{
|
{
|
||||||
register int __tmp,
|
register int __tmp;
|
||||||
register long __tmp2;
|
register long __tmp2;
|
||||||
|
|
||||||
__asm__ __volatile__("1: ldx [%4], %0\n\t"
|
__asm__ __volatile__("1: ldx [%4], %0\n\t"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue