fix: removal of [smp_]read_barrier_depends (v5.9)
[lttng-modules.git] / lib / ringbuffer / backend_internal.h
index 2d6a3453103af434ed1d94ac66026eddd9cf342f..1226fd8f16acb2cb165b1df542695681899258dd 100644 (file)
@@ -367,7 +367,7 @@ void lib_ring_buffer_clear_noref(const struct lib_ring_buffer_config *config,
         * Performing a volatile access to read the sb_pages, because we want to
         * read a coherent version of the pointer and the associated noref flag.
         */
-       id = READ_ONCE(bufb->buf_wsb[idx].id);
+       id = LTTNG_READ_ONCE(bufb->buf_wsb[idx].id);
        for (;;) {
                /* This check is called on the fast path for each record. */
                if (likely(!subbuffer_id_is_noref(config, id))) {
This page took 0.023165 seconds and 4 git commands to generate.