glibc/sysdeps/s390
Roland McGrath d15851ec24 * include/atomic.h (atomic_increment_and_test): Invert sense of test.
Add comment.
	(atomic_decrement_and_test): Add comment.

2003-03-22  Jakub Jelinek  <jakub@redhat.com>

	* include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
	Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
	(atomic_compare_and_exchange_bool_acq): Add comment.  Don't use
	__oldval variable in the macro, since it might be macro argument.
	(atomic_decrement_if_positive): Initialize __memp, remove setting
	of non-existent variable.
	(atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
	* sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
	using atomic_compare_and_exchange_val_acq.
	(atomic_decrement_if_positive, atomic_bit_test_set): Define.
	* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
	Renamed from...
	(__arch_compare_and_exchange_bool_8_acq): ... this.
	(__arch_compare_and_exchange_val_16_acq): Renamed from...
	(__arch_compare_and_exchange_bool_16_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_32_acq): ... this.
	(__arch_compare_and_exchange_val_64_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_64_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Use __typeof for local
	variables types instead of assuming int.
	Change prefix of local variables to __arch.
	* sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
	Remove.
	(atomic_compare_and_exchange_val_acq,
	atomic_compare_and_exchange_bool_acq): Define.

	* csu/tst-atomic.c: New test.
	* csu/tst-atomic-long.c: New test.
	* csu/Makefile (tests): Add tst-atomic and tst-atomic-long.

	* malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.

	* sysdeps/s390/Versions: Add trailing newline.

	* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
	if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
2003-03-22 23:01:01 +00:00
..
bits * include/atomic.h (atomic_increment_and_test): Invert sense of test. 2003-03-22 23:01:01 +00:00
fpu Update. 2002-09-10 01:40:26 +00:00
s390-32 Update. 2003-03-20 07:19:17 +00:00
s390-64 Update. 2003-03-20 07:19:17 +00:00
abort-instr.h Update. 2000-08-02 15:15:00 +00:00
asm-syntax.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Dist Update. 2002-08-28 09:31:39 +00:00
dl-tls.h Update. 2003-01-28 10:42:28 +00:00
ffs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gccframe.h Update. 2001-11-16 01:27:24 +00:00
gmp-mparam.h Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
ldbl2mpn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libc-tls.c Update. 2003-01-30 18:41:47 +00:00
machine-gmon.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memusage.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stackinfo.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions 2003-03-22 Jakub Jelinek <jakub@redhat.com> 2003-03-22 23:00:12 +00:00