diff options
Diffstat (limited to 'sysdeps/powerpc/atomicity.h')
-rw-r--r-- | sysdeps/powerpc/atomicity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/atomicity.h b/sysdeps/powerpc/atomicity.h index bb5f491..2924b18 100644 --- a/sysdeps/powerpc/atomicity.h +++ b/sysdeps/powerpc/atomicity.h @@ -1,5 +1,5 @@ /* Low-level functions for atomic operations. PowerPC version. - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000 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 @@ -67,7 +67,7 @@ compare_and_swap (volatile long int *p, long int oldval, long int newval) bne- 1f stwcx. %3,0,%1 bne- 0b -1: +1: " : "=&b"(result) : "r"(p), "Ir"(oldval), "r"(newval) : "cr0", "memory"); return result >> 5; } |