projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename all memory primitives with prefix cmm_
[urcu.git]
/
urcu
/
compiler.h
diff --git
a/urcu/compiler.h
b/urcu/compiler.h
index fb8b8293ca132f683f9639c3a2502e934d17c326..d67e6c5d36922661f7b9e116d9c2b82ea555f6ec 100644
(file)
--- a/
urcu/compiler.h
+++ b/
urcu/compiler.h
@@
-23,7
+23,7
@@
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
-#define
barrier()
asm volatile("" : : : "memory")
+#define
cmm_barrier()
asm volatile("" : : : "memory")
/*
* Instruct the compiler to perform only a single access to a variable
/*
* Instruct the compiler to perform only a single access to a variable
This page took
0.022619 seconds
and
4
git commands to generate.