summaryrefslogtreecommitdiff
path: root/librt/mq_timedreceive.S
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-11-07 14:38:18 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-12-20 15:46:49 +0100
commit294079b3fd6a30d444b2b093bc0f1909136a0f6c (patch)
tree95ad3348d76e8ef29f627da707a709d2d38509f6 /librt/mq_timedreceive.S
parentbda630857e3770dd9db61ade4e15fccbdf53feae (diff)
librt: fix mq_timed{send,receive} return instructions
Not all architectures use 'ret' as function return instruction. For example, xtensa usually uses 'retw'. Use the ret_ERRVAL arch dependant macro instead. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt/mq_timedreceive.S')
-rw-r--r--librt/mq_timedreceive.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/librt/mq_timedreceive.S b/librt/mq_timedreceive.S
index 43a5fda07..00fecac03 100644
--- a/librt/mq_timedreceive.S
+++ b/librt/mq_timedreceive.S
@@ -3,6 +3,6 @@
#error Missing definition of NR_timedreceive needed for cancellation.
#endif
PSEUDO(mq_timedreceive, mq_timedreceive, 5)
-ret
+ret_ERRVAL
PSEUDO_END(mq_timedreceive)
librt_hidden_def(mq_timedreceive)