xref: /openbmc/linux/arch/x86/include/asm/module.h (revision ead5d1f4d877e92c051e1a1ade623d0d30e71619)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
21965aae3SH. Peter Anvin #ifndef _ASM_X86_MODULE_H
31965aae3SH. Peter Anvin #define _ASM_X86_MODULE_H
4bb898558SAl Viro 
573a2d096SArnd Bergmann #include <asm-generic/module.h>
6ee9f8fceSJosh Poimboeuf #include <asm/orc_types.h>
7ee9f8fceSJosh Poimboeuf 
8ee9f8fceSJosh Poimboeuf struct mod_arch_specific {
911af8474SJosh Poimboeuf #ifdef CONFIG_UNWINDER_ORC
10ee9f8fceSJosh Poimboeuf 	unsigned int num_orcs;
11ee9f8fceSJosh Poimboeuf 	int *orc_unwind_ip;
12ee9f8fceSJosh Poimboeuf 	struct orc_entry *orc_unwind;
13ee9f8fceSJosh Poimboeuf #endif
14ee9f8fceSJosh Poimboeuf };
15bb898558SAl Viro 
161965aae3SH. Peter Anvin #endif /* _ASM_X86_MODULE_H */
17