1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_S390_MODULE_H
3 #define _ASM_S390_MODULE_H
5 #include <asm-generic/module.h>
8 * This file contains the s390 architecture specific module code.
11 struct mod_arch_syminfo
13 unsigned long got_offset
;
14 unsigned long plt_offset
;
19 struct mod_arch_specific
21 /* Starting offset of got in the module core memory. */
22 unsigned long got_offset
;
23 /* Starting offset of plt in the module core memory. */
24 unsigned long plt_offset
;
25 /* Size of the got. */
26 unsigned long got_size
;
27 /* Size of the plt. */
28 unsigned long plt_size
;
29 /* Number of symbols in syminfo. */
31 /* Additional symbol information (got and plt offsets). */
32 struct mod_arch_syminfo
*syminfo
;
35 #endif /* _ASM_S390_MODULE_H */