projects
/
nats.c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbeebe9
)
[PATCH] fix armel build #555
author
Victor Seva
<linuxmaniac@torreviejawireless.org>
Tue, 12 Jul 2022 10:34:35 +0000
(12:34 +0200)
committer
Peter Michael Green
<plugwash@raspbian.org>
Thu, 28 Jul 2022 07:54:37 +0000
(08:54 +0100)
> Error: selected processor does not support `yield' in ARM mode
Gbp-Pq: Name 0001-fix-armel-build.patch
src/unix/mutex.c
patch
|
blob
|
history
diff --git
a/src/unix/mutex.c
b/src/unix/mutex.c
index ead70d256091ef525908714dfded7d5ce9682d18..1913a82fed919e3a0bd0f03040a9b83c11ad5182 100644
(file)
--- a/
src/unix/mutex.c
+++ b/
src/unix/mutex.c
@@
-78,7
+78,7
@@
natsMutex_Lock(natsMutex *m)
#if defined(__x86_64__) || \
defined(__mips__)
__asm__ __volatile__ ("pause" ::: "memory");
- #elif
defined(__arm__
) || \
+ #elif
(defined(__arm__) && __ARM_ARCH >=7
) || \
defined(__aarch64__)
__asm__ __volatile__ ("yield" ::: "memory");
#elif defined(__powerpc__) || \