From: Marcus Shawcroft <marcus.shawcroft@linaro.org>
To: libc-ports@sourceware.org
Subject: [PATCH] AArch64 fix error value returned from lll_futex_timed_wait_bitset
Date: Wed, 21 Nov 2012 12:20:00 -0000 [thread overview]
Message-ID: <CABXK9nfGdCaDvSE-ug=7UmhB3G3z+DL_a9nVT83S9UD30EZfew@mail.gmail.com> (raw)
[-- 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) \
reply other threads:[~2012-11-21 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABXK9nfGdCaDvSE-ug=7UmhB3G3z+DL_a9nVT83S9UD30EZfew@mail.gmail.com' \
--to=marcus.shawcroft@linaro.org \
--cc=libc-ports@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).