xref: /openbmc/linux/arch/s390/include/asm/module.h (revision c819e2cf)
1 #ifndef _ASM_S390_MODULE_H
2 #define _ASM_S390_MODULE_H
3 
4 #include <asm-generic/module.h>
5 
6 /*
7  * This file contains the s390 architecture specific module code.
8  */
9 
10 struct mod_arch_syminfo
11 {
12 	unsigned long got_offset;
13 	unsigned long plt_offset;
14 	int got_initialized;
15 	int plt_initialized;
16 };
17 
18 struct mod_arch_specific
19 {
20 	/* Starting offset of got in the module core memory. */
21 	unsigned long got_offset;
22 	/* Starting offset of plt in the module core memory. */
23 	unsigned long plt_offset;
24 	/* Size of the got. */
25 	unsigned long got_size;
26 	/* Size of the plt. */
27 	unsigned long plt_size;
28 	/* Number of symbols in syminfo. */
29 	int nsyms;
30 	/* Additional symbol information (got and plt offsets). */
31 	struct mod_arch_syminfo *syminfo;
32 };
33 
34 #endif /* _ASM_S390_MODULE_H */
35