fix: removal of [smp_]read_barrier_depends (v5.9)
[lttng-modules.git] / include / ringbuffer / backend_internal.h
index aab408fb2697e67da4042bfd113e3cdc92df3224..c76b25a85ed2eeffa1f3ccd99dccaa0e2b6bcea8 100644 (file)
@@ -368,7 +368,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.023401 seconds and 4 git commands to generate.