rcu torture and api.h: remove duplicated atomic primitives
[urcu.git] / tests / api_gcc.h
index 963f842215dd1eb4e95186b99a7059dbf70a9fe1..721af0a4813c25c498c391de49ba5d5e8d7d68c9 100644 (file)
@@ -75,6 +75,7 @@
 
 #define LOCK_PREFIX "lock ; "
 
+#if 0 /* duplicate with arch_atomic.h */
 /*
  * Atomic data structure, initialization, and access.
  */
@@ -251,6 +252,8 @@ cmpxchg(volatile long *ptr, long oldval, long newval)
 #define smp_mb__before_atomic_inc()    barrier()
 #define smp_mb__after_atomic_inc()     barrier()
 
+#endif //0 /* duplicate with arch_atomic.h */
+
 /*
  * api_pthreads.h: API mapping to pthreads environment.
  *
This page took 0.023238 seconds and 4 git commands to generate.