OSDN Git Service

librt: fix mq_timed{send,receive} return instructions
authorBaruch Siach <baruch@tkos.co.il>
Thu, 7 Nov 2013 12:38:18 +0000 (14:38 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 20 Dec 2013 14:46:49 +0000 (15:46 +0100)
commit294079b3fd6a30d444b2b093bc0f1909136a0f6c
tree95ad3348d76e8ef29f627da707a709d2d38509f6
parentbda630857e3770dd9db61ade4e15fccbdf53feae
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>
librt/mq_timedreceive.S
librt/mq_timedsend.S