linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rt-tests] queuelat: use ARM implementation of gettick also for all !x86 archs
@ 2019-12-08 21:06 Uwe Kleine-König
  2019-12-09  9:40 ` Daniel Wagner
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Uwe Kleine-König @ 2019-12-08 21:06 UTC (permalink / raw)
  To: Clark Williams, John Kacur; +Cc: linux-rt-users

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-12-17  3:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-08 21:06 [PATCH rt-tests] queuelat: use ARM implementation of gettick also for all !x86 archs Uwe Kleine-König
2019-12-09  9:40 ` 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

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