diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-06-22 04:10:54 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-23 21:41:17 +0200 |
commit | f347524fade67b41fb8e46283a6f0ae4aa19e6b0 (patch) | |
tree | 9fbe23358d999e9cb601ea15b743db8579515b22 /libpthread/nptl/pthread_cancel.c | |
parent | f3a8267dabab20b095abe36e4a2be14ccc34b38e (diff) |
xtensa: add ret_ERRVAL definition
ret_ERRVAL is used by mq_timedsend and mq_timedreceive, it needs to be
defined to retw, otherwise error return from those functions segfaults.
This fixes the following testsuite failures:
.... tst-mqueue1
FAIL tst-mqueue1 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
.... tst-mqueue2
FAIL tst-mqueue2 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
.... tst-mqueue3
FAIL tst-mqueue3 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
.... tst-mqueue4
FAIL tst-mqueue4 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
.... tst-mqueue5
FAIL tst-mqueue5 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
.... tst-mqueue6
FAIL tst-mqueue6 got 1 expected 0
Didn't expect signal from child: got `Segmentation fault'
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libpthread/nptl/pthread_cancel.c')
0 files changed, 0 insertions, 0 deletions