about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/ia64/lowlevellock.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 57f9f99b9e..588b9ecff1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
+	Mark _retval as used.
+	(lll_futex_wake_unlock): Likewise.
+	(lll_futex_timed_wait_requeue_pi): Likewise.
+
 	* sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
 	(atomic_compare_and_exchange_val_acq): Use uint32_t for the
 	register variables.
diff --git a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
index 19a06a258f..90d4cf3a17 100644
--- a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
@@ -117,6 +117,7 @@
 		     __lll_private_flag (FUTEX_CMP_REQUEUE, private),	     \
 		     (int) (nr_wake), (int) (nr_move), (long) (mutex),	     \
 		     (int) val);					     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -127,6 +128,7 @@
 		     __lll_private_flag (FUTEX_WAKE_OP, private),	     \
 		     (int) (nr_wake), (int) (nr_wake2), (long) (ftx2),	     \
 		     FUTEX_OP_CLEAR_WAKE_IF_GT_ONE);			     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -142,6 +144,7 @@
    DO_INLINE_SYSCALL(futex, 5, (long) (futexp),				      \
 		     __lll_private_flag (__op, private),		      \
 		     (val), (timespec), mutex); 			      \
+   (void) _retval;							     \
    _r10 == -1;								      \
 })