X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Fapi_gcc.h;h=721af0a4813c25c498c391de49ba5d5e8d7d68c9;hp=963f842215dd1eb4e95186b99a7059dbf70a9fe1;hb=6ee91d83a7a5b33160158f57f94dd75e6d0a67ed;hpb=4d78cb54f60eac305d4b7e9e1ff90bb968634756 diff --git a/tests/api_gcc.h b/tests/api_gcc.h index 963f842..721af0a 100644 --- a/tests/api_gcc.h +++ b/tests/api_gcc.h @@ -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. *