From 552c6a08d04c74d20eeaa86f535bfd553b352370 Mon Sep 17 00:00:00 2001 From: Julia Suvorova Date: Mon, 19 Aug 2019 08:45:28 -0600 Subject: liburing/barrier.h: Add prefix io_uring to barriers The names of the barriers conflict with the namespaces of other projects when trying to directly include liburing.h. Avoid using popular global names. Reviewed-by: Stefan Hajnoczi Signed-off-by: Julia Suvorova Signed-off-by: Jens Axboe --- test/io_uring_enter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/io_uring_enter.c b/test/io_uring_enter.c index c2030c1..8190178 100644 --- a/test/io_uring_enter.c +++ b/test/io_uring_enter.c @@ -266,7 +266,7 @@ main(int argc, char **argv) * Ensure that the kernel sees the SQE update before it sees the tail * update. */ - smp_store_release(sq->ktail, ktail); + io_uring_smp_store_release(sq->ktail, ktail); ret = io_uring_enter(ring.ring_fd, 1, 0, 0, NULL); /* now check to see if our sqe was dropped */ -- cgit