public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] AArch64 fix error value returned from lll_futex_timed_wait_bitset
@ 2012-11-21 12:20 Marcus Shawcroft
  0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2012-11-21 12:20 UTC (permalink / raw)
  To: libc-ports

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

This patch fixes the sign of an error value returned by
lll_futex_timed_wait_bitset for AArch64.

/Marcus

2012-11-21  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

	* sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
	(lll_futex_timed_wait_bitset): Remove INTERNAL_SYSCALL_ERROR_P.

[-- Attachment #2: fix-lll_timed_wait_bitset-return.diff --]
[-- Type: application/octet-stream, Size: 588 bytes --]

diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
index e4f0c94..705cffd 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
@@ -96,7 +96,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) \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-21 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 12:20 [PATCH] AArch64 fix error value returned from lll_futex_timed_wait_bitset Marcus Shawcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).