Skip to content
Snippets Groups Projects
Commit d68c0817 authored by Wei Yang's avatar Wei Yang Committed by Mike Rapoport (Microsoft)
Browse files

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: default avatarWei 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: default avatarMike Rapoport (Microsoft) <rppt@kernel.org>
parent 19c91bd8
No related branches found
No related tags found
No related merge requests found
#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
#define _TOOLS_INCLUDE_LINUX_LINKAGE_H #define _TOOLS_INCLUDE_LINUX_LINKAGE_H
#include <linux/export.h>
#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */ #endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#define _LINUX_INIT_H #define _LINUX_INIT_H
#include <linux/compiler.h> #include <linux/compiler.h>
#include <asm/export.h>
#define __section(section) __attribute__((__section__(section))) #define __section(section) __attribute__((__section__(section)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment