aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2024-07-12 03:51:38 +0000
committerMike Rapoport (Microsoft) <rppt@kernel.org>2024-08-06 08:17:50 +0300
commite2ae9cf39f8806d2d8f5eb0a22ba511804a804ec (patch)
tree083f1961a588675c12e89b13fd65772de84dfb74 /tools/testing/radix-tree
parentmemblock tests: include export.h in linkage.h as kernel dose (diff)
downloadlinux-e2ae9cf39f8806d2d8f5eb0a22ba511804a804ec.tar.gz
linux-e2ae9cf39f8806d2d8f5eb0a22ba511804a804ec.zip
tools/testing: abstract two init.h into common include directory
Currently we have two test suits define its own init.h. This is a little redundant. Let's create a init.h in common include directory and merge these two into it. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Mike Rapoport <rppt@kernel.org> CC: Liam R. Howlett <Liam.Howlett@oracle.com> Link: https://lore.kernel.org/r/20240712035138.24674-3-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'tools/testing/radix-tree')
-rw-r--r--tools/testing/radix-tree/linux/init.h2
-rw-r--r--tools/testing/radix-tree/maple.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/radix-tree/linux/init.h b/tools/testing/radix-tree/linux/init.h
deleted file mode 100644
index 81563c3dfce7..000000000000
--- a/tools/testing/radix-tree/linux/init.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#define __init
-#define __exit
diff --git a/tools/testing/radix-tree/maple.c b/tools/testing/radix-tree/maple.c
index cd1cf05503b4..3437292babff 100644
--- a/tools/testing/radix-tree/maple.c
+++ b/tools/testing/radix-tree/maple.c
@@ -14,7 +14,7 @@
#include "test.h"
#include <stdlib.h>
#include <time.h>
-#include "linux/init.h"
+#include <linux/init.h>
#define module_init(x)
#define module_exit(x)