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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/testing/shared/linux/maple_tree.h b/tools/testing/shared/linux/maple_tree.h
index f67d47d32857..7d0fadef0f11 100644
--- a/tools/testing/shared/linux/maple_tree.h
+++ b/tools/testing/shared/linux/maple_tree.h
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */
-#define atomic_t int32_t
-#define atomic_inc(x) uatomic_inc(x)
-#define atomic_read(x) uatomic_read(x)
-#define atomic_set(x, y) uatomic_set(x, y)
+#include <linux/atomic.h>
+
#define U8_MAX UCHAR_MAX
#include "../../../../include/linux/maple_tree.h"