From: "Uwe Kleine-König" <ukleinek@debian.org>
To: Clark Williams <williams@redhat.com>, John Kacur <jkacur@redhat.com>
Cc: linux-rt-users@vger.kernel.org
Subject: [PATCH rt-tests] queuelat: use ARM implementation of gettick also for all !x86 archs
Date: Sun, 8 Dec 2019 22:06:25 +0100 [thread overview]
Message-ID: <20191208210625.5999-1-ukleinek@debian.org> (raw)
This fixes a build error on arm64, mips*, ppc and several others
---
src/queuelat/queuelat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/queuelat/queuelat.c b/src/queuelat/queuelat.c
index cccb50ef0cc4..98346f346f82 100644
--- a/src/queuelat/queuelat.c
+++ b/src/queuelat/queuelat.c
@@ -283,7 +283,7 @@ static inline unsigned long long __rdtscll(void)
#define gettick(val) do { (val) = __rdtscll(); } while (0)
-#elif defined __arm__
+#else
static inline unsigned long long __clock_gettime(void)
{
--
2.24.0
next reply other threads:[~2019-12-08 21:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-08 21:06 Uwe Kleine-König [this message]
2019-12-09 9:40 ` [PATCH rt-tests] queuelat: use ARM implementation of gettick also for all !x86 archs Daniel Wagner
2019-12-10 11:24 ` John Kacur
2019-12-12 17:31 ` Sebastian Andrzej Siewior
2019-12-10 11:20 ` John Kacur
2019-12-12 17:46 ` Sebastian Andrzej Siewior
2019-12-13 12:41 ` Daniel Wagner
2019-12-13 14:54 ` John Kacur
2019-12-13 23:02 ` Marcelo Tosatti
2019-12-16 15:34 ` Sebastian Andrzej Siewior
2019-12-16 21:14 ` Marcelo Tosatti
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=20191208210625.5999-1-ukleinek@debian.org \
--to=ukleinek@debian.org \
--cc=jkacur@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).