summaryrefslogtreecommitdiff
path: root/librt
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
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')
-rw-r--r--librt/mq_timedreceive.S2
-rw-r--r--librt/mq_timedsend.S2
2 files changed, 2 insertions, 2 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)
diff --git a/librt/mq_timedsend.S b/librt/mq_timedsend.S
index 13d91da00..ee8d48334 100644
--- a/librt/mq_timedsend.S
+++ b/librt/mq_timedsend.S
@@ -3,6 +3,6 @@
#error Missing definition of NR_timedsend needed for cancellation.
#endif
PSEUDO(mq_timedsend, mq_timedsend, 5)
-ret
+ret_ERRVAL
PSEUDO_END(mq_timedsend)
librt_hidden_def(mq_timedsend)