m68k: fix return value of lll_futex_timed_wait_bitset
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 21 Nov 2012 17:42:04 +0000 (18:42 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 21 Nov 2012 21:59:20 +0000 (22:59 +0100)
ports/ChangeLog.m68k
ports/sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h

index 2bcddc0..e169402 100644 (file)
@@ -1,3 +1,9 @@
+2012-11-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
+       (lll_futex_timed_wait_bitset): Remove use of
+       INTERNAL_SYSCALL_ERROR_P.
+
 2012-11-20  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/m68k/m680x0/fpu/s_atan.c (weak_aliasx): Remove
index 3f1aedd..73fdaea 100644 (file)
@@ -97,7 +97,7 @@
                              __lll_private_flag (__op, private),             \
                              (val), (timespec), NULL /* Unused.  */,         \
                              FUTEX_BITSET_MATCH_ANY);                        \
-    INTERNAL_SYSCALL_ERROR_P (__ret, __err) ? -__ret : __ret;                \
+    __ret;                                                                   \
   })
 
 #define lll_futex_wake(futexp, nr, private) \