Skip to content

Commit d68c081

Browse files
RichardWeiYangrppt
authored andcommitted
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>
1 parent 19c91bd commit d68c081

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/include/linux/linkage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
22
#define _TOOLS_INCLUDE_LINUX_LINKAGE_H
33

4+
#include <linux/export.h>
5+
46
#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */

tools/testing/memblock/linux/init.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define _LINUX_INIT_H
44

55
#include <linux/compiler.h>
6-
#include <asm/export.h>
76

87
#define __section(section) __attribute__((__section__(section)))
98

0 commit comments

Comments
 (0)