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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
#define _TOOLS_INCLUDE_LINUX_LINKAGE_H

#include <linux/export.h>

#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
#define _LINUX_INIT_H

#include <linux/compiler.h>
#include <asm/export.h>

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