aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-14 23:28:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-14 23:28:28 +0000
commit7c437eb80360ee1774ce5dbeaf983337b9ab8113 (patch)
tree702cc5b99434d7e468e6fa46c177b577ec23495c
parent5b26325f1420a2211dfed2bff059aee93fcd7a1c (diff)
downloadglibc-7c437eb80360ee1774ce5dbeaf983337b9ab8113.tar
glibc-7c437eb80360ee1774ce5dbeaf983337b9ab8113.tar.gz
glibc-7c437eb80360ee1774ce5dbeaf983337b9ab8113.tar.bz2
glibc-7c437eb80360ee1774ce5dbeaf983337b9ab8113.zip
Update.
2000-02-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/atomicity.h: Remove white space to avoid compiler warning.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/atomicity.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e879f72d9..93fa9ac8a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-14 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/powerpc/atomicity.h: Remove white space to avoid
+ compiler warning.
+
2000-02-14 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
diff --git a/sysdeps/powerpc/atomicity.h b/sysdeps/powerpc/atomicity.h
index bb5f49133a..2924b181f5 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;
}