summaryrefslogtreecommitdiff
path: root/tools/testing/shared/linux/maple_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/shared/linux/maple_tree.h')
-rw-r--r--tools/testing/shared/linux/maple_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/shared/linux/maple_tree.h b/tools/testing/shared/linux/maple_tree.h
index 06c89bdcc515..f67d47d32857 100644
--- a/tools/testing/shared/linux/maple_tree.h
+++ b/tools/testing/shared/linux/maple_tree.h
@@ -2,6 +2,6 @@
#define atomic_t int32_t
#define atomic_inc(x) uatomic_inc(x)
#define atomic_read(x) uatomic_read(x)
-#define atomic_set(x, y) do {} while (0)
+#define atomic_set(x, y) uatomic_set(x, y)
#define U8_MAX UCHAR_MAX
#include "../../../../include/linux/maple_tree.h"