1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Please do not include this explicitly.
4 * This is used by C files generated by modpost.
7 #ifndef __LINUX_EXPORT_INTERNAL_H__
8 #define __LINUX_EXPORT_INTERNAL_H__
10 #include <linux/compiler.h>
11 #include <linux/types.h>
13 /* __used is needed to keep __crc_* for LTO */
14 #define SYMBOL_CRC(sym, crc, sec) \
15 u32 __section("___kcrctab" sec "+" #sym) __used __crc_##sym = crc
17 #endif /* __LINUX_EXPORT_INTERNAL_H__ */