port: use ust-endian.h compat
[lttng-ust.git] / liblttng-ust / lttng-bytecode-interpreter.c
index bba3cac8dcb8991f35238207eb3ba16701eb840e..6072aee9bd6105526e6063748c7c7e5f00b33b6f 100644 (file)
@@ -27,9 +27,8 @@
 #define _LGPL_SOURCE
 #include <stddef.h>
 #include <stdint.h>
-#include <urcu-pointer.h>
-#include <byteswap.h>
 
+#include <lttng/urcu/pointer.h>
 #include <lttng/ust-endian.h>
 #include <lttng/ust-events.h>
 
@@ -771,7 +770,7 @@ uint64_t bytecode_interpret(void *interpreter_data,
                struct lttng_interpreter_output *output)
 {
        struct bytecode_runtime *bytecode = interpreter_data;
-       struct lttng_ctx *ctx = rcu_dereference(*bytecode->p.pctx);
+       struct lttng_ctx *ctx = lttng_ust_rcu_dereference(*bytecode->p.pctx);
        void *pc, *next_pc, *start_pc;
        int ret = -EINVAL;
        uint64_t retval = 0;
This page took 0.02419 seconds and 4 git commands to generate.