about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-03-06 11:15:26 -0800
committerDavid S. Miller <davem@davemloft.net>2012-03-06 11:15:26 -0800
commite92584001a07a7e1a4ad2a4997a429075d36e76a (patch)
treec967f50060e192e59ecd382cd10fdeed52d28d68 /ChangeLog
parentf3caba873e7d6952fe4945e2bf222cd4d40cf5c7 (diff)
downloadglibc-e92584001a07a7e1a4ad2a4997a429075d36e76a.tar.gz
glibc-e92584001a07a7e1a4ad2a4997a429075d36e76a.tar.xz
glibc-e92584001a07a7e1a4ad2a4997a429075d36e76a.zip
Fix several build warnings on sparc.
/

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(set_obp_int): New function.
	(get_obp_int): New function.
	(__get_clockfreq_via_dev_openprom): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
	unused variable warnings on 'val' and use builtin_expect.
	(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
	(INLINE_CLONE_SYSCALL): Likewise.

nptl/

	* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
	atomic_increment and remove unused local variable.
	(__old_sem_post): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 165ed822d9..2b47391f98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-03-06  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+	(set_obp_int): New function.
+	(get_obp_int): New function.
+	(__get_clockfreq_via_dev_openprom): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
+	unused variable warnings on 'val' and use builtin_expect.
+	(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
+	(INLINE_CLONE_SYSCALL): Likewise.
+
 2012-03-05  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/sparc/fpu/libm-test-ulps: Update.