summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2024-07-12 03:51:37 +0000
committerMike Rapoport (Microsoft) <rppt@kernel.org>2024-08-06 08:17:49 +0300
commitd68c08173b70952cd74bb45075b843f4a637a43b (patch)
tree47a01eb9a1673f5febc8f84a9a04f8fd9b319d01 /tools/include
parent19c91bd8932a2e00f8de76022c780951166be9a0 (diff)
downloadlinux-stable-d68c08173b70952cd74bb45075b843f4a637a43b.tar.gz
linux-stable-d68c08173b70952cd74bb45075b843f4a637a43b.tar.bz2
linux-stable-d68c08173b70952cd74bb45075b843f4a637a43b.zip
memblock tests: include export.h in linkage.h as kernel dose
In kernel code, linkage.h includes export.h. Let's sync with kernel. This is a preparation for move init.h in common include directory. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Mike Rapoport <rppt@kernel.org> Link: https://lore.kernel.org/r/20240712035138.24674-2-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/linux/linkage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/linux/linkage.h b/tools/include/linux/linkage.h
index bc763d500262..20dee24d7e1b 100644
--- a/tools/include/linux/linkage.h
+++ b/tools/include/linux/linkage.h
@@ -1,4 +1,6 @@
#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
#define _TOOLS_INCLUDE_LINUX_LINKAGE_H
+#include <linux/export.h>
+
#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */