continue working on build system
[ust.git] / libust / tracepoint.h
index 6f14ea08a696f43428e615fccfb00eda12a90759..3b2470138bf882cb938ee977999ac81c2f390921 100644 (file)
@@ -28,6 +28,7 @@
 //#include <linux/types.h>
 //#include <linux/rcupdate.h>
 
+#include "urcu.h"
 #include "immediate.h"
 #include "kernelcompat.h"
 
@@ -58,14 +59,14 @@ struct tracepoint {
        do {                                                            \
                void **it_func;                                         \
                                                                        \
-               rcu_read_lock_sched_notrace();                          \
+               rcu_read_lock(); /*ust rcu_read_lock_sched_notrace();   */                      \
                it_func = rcu_dereference((tp)->funcs);                 \
                if (it_func) {                                          \
                        do {                                            \
                                ((void(*)(proto))(*it_func))(args);     \
                        } while (*(++it_func));                         \
                }                                                       \
-               rcu_read_unlock_sched_notrace();                        \
+               rcu_read_unlock(); /*ust rcu_read_unlock_sched_notrace(); */                    \
        } while (0)
 
 #define __CHECK_TRACE(name, generic, proto, args)                      \
This page took 0.022692 seconds and 4 git commands to generate.