X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=share%2Fkernelcompat.h;h=f141bc54e88555534cb2786665a51dbdd3191e97;hb=6cb88bc04f67ebc3264d3832f4ce5cca2c642ab4;hp=c0f4c9938c47a1959bcd5114036db63519ea1d3c;hpb=b4512257eb71d0432554047acf6278dc42a15a75;p=ust.git diff --git a/share/kernelcompat.h b/share/kernelcompat.h index c0f4c99..f141bc5 100644 --- a/share/kernelcompat.h +++ b/share/kernelcompat.h @@ -95,13 +95,13 @@ static inline long IS_ERR(const void *ptr) #define smp_mb__after_atomic_inc() do {} while(0) -/* RCU */ - -#include "urcu.h" -#define call_rcu_sched(a,b) b(a); synchronize_rcu() -#define rcu_barrier_sched() do {} while(0) /* this nop is ok if call_rcu_sched does a synchronize_rcu() */ -#define rcu_read_lock_sched_notrace() rcu_read_lock() -#define rcu_read_unlock_sched_notrace() rcu_read_unlock() +///* RCU */ +// +//#include "urcu.h" +//#define call_rcu_sched(a,b) b(a); synchronize_rcu() +//#define rcu_barrier_sched() do {} while(0) /* this nop is ok if call_rcu_sched does a synchronize_rcu() */ +//#define rcu_read_lock_sched_notrace() rcu_read_lock() +//#define rcu_read_unlock_sched_notrace() rcu_read_unlock() /* ATOMICITY */