projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e5f96
)
x86: drop extra semi-colon in caa_cpu_relax
author
Eric Wong
<normalperson@yhbt.net>
Thu, 31 Jul 2014 00:21:51 +0000
(
00:21
+0000)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Thu, 31 Jul 2014 19:58:20 +0000
(15:58 -0400)
This fixes compilation in braceless if/else constructs:
if (expr)
caa_cpu_relax();
else
...
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/arch/x86.h
patch
|
blob
|
blame
|
history
diff --git
a/urcu/arch/x86.h
b/urcu/arch/x86.h
index 5853604932793fb5fe40b5244fc5b33042393437..2f2ac69b2aa6744ddedb00d56f85f9dcd15a7bf1 100644
(file)
--- a/
urcu/arch/x86.h
+++ b/
urcu/arch/x86.h
@@
-60,7
+60,7
@@
extern "C" {
#define cmm_wmb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)"::: "memory")
#endif
-#define caa_cpu_relax() __asm__ __volatile__ ("rep; nop" : : : "memory")
;
+#define caa_cpu_relax() __asm__ __volatile__ ("rep; nop" : : : "memory")
#define rdtscll(val) \
do { \
This page took
0.026306 seconds
and
4
git commands to generate.