projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aarch64: Implement caa_cpu_relax as yield instruction
[userspace-rcu.git]
/
include
/
urcu
/
arch
/
aarch64.h
diff --git
a/include/urcu/arch/aarch64.h
b/include/urcu/arch/aarch64.h
index 9e2f1ffdb6d09ee93c12692a77db3866a69de9e3..e1925b30ddbc0018456228323c3d274581897fa4 100644
(file)
--- a/
include/urcu/arch/aarch64.h
+++ b/
include/urcu/arch/aarch64.h
@@
-51,6
+51,8
@@
extern "C" {
# endif
#endif
+#define caa_cpu_relax() __asm__ __volatile__ ("yield" : : : "memory")
+
#ifdef __cplusplus
}
#endif
This page took
0.02332 seconds
and
4
git commands to generate.