* Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com>
*/
+#include <asm/barrier.h>
#include <linux/bug.h>
#include <lttng/lttng-bytecode.h>
#include <lttng/event-notifier-notification.h>
#include <lttng/events-internal.h>
#include <lttng/probe-user.h>
-#include <wrapper/barrier.h>
/*
* The capture buffer size needs to be below 1024 bytes to avoid the
int ret;
/*
- * lttng_smp_load_acquire paired with lttng_smp_store_release orders
- * creation of the error counter and setting error_counter_len
- * before the error_counter is used.
+ * smp_load_acquire paired with smp_store_release orders creation of
+ * the error counter and setting error_counter_len before the
+ * error_counter is used.
*/
- error_counter = lttng_smp_load_acquire(&event_notifier_group->error_counter);
+ error_counter = smp_load_acquire(&event_notifier_group->error_counter);
/* This group may not have an error counter attached to it. */
if (!error_counter)
return;