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>
#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)
#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)