X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-abi.c;h=472541a2b89ba5905bd1cdefbd6b2bcd2d50f808;hb=a27c8df7d7ff43a3bba67e8b0ea29ebbf29f674e;hp=59fea6266a840fd53e568c6526f12a60ccb72333;hpb=e481d68f7e5b3789926faba6473f15fc3081c6e3;p=lttng-modules.git diff --git a/src/lttng-abi.c b/src/lttng-abi.c index 59fea626..472541a2 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -23,6 +23,7 @@ * - Takes instrumentation source specific arguments. */ +#include #include #include #include @@ -38,7 +39,6 @@ #include #include #include -#include #include #include #include @@ -2283,7 +2283,7 @@ long lttng_abi_event_notifier_group_create_error_counter( * in record_error. Ensures the counter is created and the * error_counter_len is set before they are used. */ - lttng_smp_store_release(&event_notifier_group->error_counter, counter); + smp_store_release(&event_notifier_group->error_counter, counter); counter->file = counter_file; counter->owner = event_notifier_group->file;