From: Joerg Vehlow <lkml@jv-coder.de>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] realtime/m4: Re-add define for robust mutexattr APIs
Date: Thu, 19 Nov 2020 10:52:27 +0100 [thread overview]
Message-ID: <20201119095227.921830-1-lkml@jv-coder.de> (raw)
From: Mathias Fiedler <mathias.fiedler@aox-tech.de>
This define is required by sbrk_mutex.c and testpi-6.c.
This define was dropped in
commit 3f6e7fe1e7d6afffb1db593e0dc14ca88a01cf66:
realtime: Fix pthread_mutexattr_{g,s}etrobust_np detection
Signed-off-by: Mathias Fiedler <mathias.fiedler@aox-tech.de>
Fixes: 3f6e7fe1e
---
testcases/realtime/m4/check.m4 | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/realtime/m4/check.m4 b/testcases/realtime/m4/check.m4
index 5aa53bd42..e4d4fac75 100644
--- a/testcases/realtime/m4/check.m4
+++ b/testcases/realtime/m4/check.m4
@@ -17,6 +17,7 @@ AC_DEFUN([REALTIME_CHECK_ROBUST_APIS],[
AC_CHECK_DECLS([pthread_mutexattr_getrobust, pthread_mutexattr_setrobust],[],[has_robust="no"],[[#include <pthread.h>]])
AC_MSG_CHECKING([for pthread_mutexattr_*robust* APIs])
if test "x$has_robust" != "xno"; then
+ AC_DEFINE(HAS_PTHREAD_MUTEXTATTR_ROBUST_APIS,1,[Define to 1 if you have pthread_mutexattr_*robust* APIs])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
--
2.25.1
next reply other threads:[~2020-11-19 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 9:52 Joerg Vehlow [this message]
2020-11-19 11:38 ` [LTP] [PATCH] realtime/m4: Re-add define for robust mutexattr APIs Cyril Hrubis
2020-11-26 8:30 ` Joerg Vehlow
2020-12-03 12:47 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201119095227.921830-1-lkml@jv-coder.de \
--to=lkml@jv-coder.de \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.