projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack API: rename cds_wfs_first_blocking to cds_wfs_first
[urcu.git]
/
urcu
/
uatomic
/
generic.h
diff --git
a/urcu/uatomic/generic.h
b/urcu/uatomic/generic.h
index bfd9b68f3b14bac2617ede3e51f8285090b05d77..54d2a8c34a4b744fa021e03ef4fd0a78eb343465 100644
(file)
--- a/
urcu/uatomic/generic.h
+++ b/
urcu/uatomic/generic.h
@@
-29,7
+29,7
@@
extern "C" {
#endif
#ifndef uatomic_set
#endif
#ifndef uatomic_set
-#define uatomic_set(addr, v)
CMM_STORE_SHARED(*(addr), (v
))
+#define uatomic_set(addr, v)
((void) CMM_STORE_SHARED(*(addr), (v)
))
#endif
#ifndef uatomic_read
#endif
#ifndef uatomic_read
@@
-41,8
+41,10
@@
static inline __attribute__((always_inline))
void _uatomic_link_error()
{
#ifdef ILLEGAL_INSTR
void _uatomic_link_error()
{
#ifdef ILLEGAL_INSTR
- /* generate an illegal instruction. Cannot catch this with linker tricks
- * when optimizations are disabled. */
+ /*
+ * generate an illegal instruction. Cannot catch this with
+ * linker tricks when optimizations are disabled.
+ */
__asm__ __volatile__(ILLEGAL_INSTR);
#else
__builtin_trap ();
__asm__ __volatile__(ILLEGAL_INSTR);
#else
__builtin_trap ();
This page took
0.023348 seconds
and
4
git commands to generate.