xref: /linux/include/linux/export-internal.h (revision 2da68a77)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Please do not include this explicitly.
4  * This is used by C files generated by modpost.
5  */
6 
7 #ifndef __LINUX_EXPORT_INTERNAL_H__
8 #define __LINUX_EXPORT_INTERNAL_H__
9 
10 #include <linux/compiler.h>
11 #include <linux/types.h>
12 
13 #define SYMBOL_CRC(sym, crc, sec)   \
14 	asm(".section \"___kcrctab" sec "+" #sym "\",\"a\""	"\n" \
15 	    "__crc_" #sym ":"					"\n" \
16 	    ".long " #crc					"\n" \
17 	    ".previous"						"\n")
18 
19 #endif /* __LINUX_EXPORT_INTERNAL_H__ */
20