aarch64: Implement caa_cpu_relax as yield instruction
[urcu.git] / include / urcu / arch / aarch64.h
index 9e2f1ffdb6d09ee93c12692a77db3866a69de9e3..e1925b30ddbc0018456228323c3d274581897fa4 100644 (file)
@@ -51,6 +51,8 @@ extern "C" {
 # endif
 #endif
 
+#define caa_cpu_relax()        __asm__ __volatile__ ("yield" : : : "memory")
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.021828 seconds and 4 git commands to generate.