Commit c62ea795 by Andreas Jaeger Committed by Andreas Jaeger

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
parent 0eac0e81
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
......
/* 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment