xref: /OK3568_Linux_fs/kernel/arch/x86/include/asm/module.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _ASM_X86_MODULE_H
3*4882a593Smuzhiyun #define _ASM_X86_MODULE_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #include <asm-generic/module.h>
6*4882a593Smuzhiyun #include <asm/orc_types.h>
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun struct mod_arch_specific {
9*4882a593Smuzhiyun #ifdef CONFIG_UNWINDER_ORC
10*4882a593Smuzhiyun 	unsigned int num_orcs;
11*4882a593Smuzhiyun 	int *orc_unwind_ip;
12*4882a593Smuzhiyun 	struct orc_entry *orc_unwind;
13*4882a593Smuzhiyun #endif
14*4882a593Smuzhiyun };
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif /* _ASM_X86_MODULE_H */
17