treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / module.h
blobe0a6d29846e260edd7842cbc59cb3f3dba2b7536
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>
7 /*
8 * This file contains the s390 architecture specific module code.
9 */
11 struct mod_arch_syminfo
13 unsigned long got_offset;
14 unsigned long plt_offset;
15 int got_initialized;
16 int plt_initialized;
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. */
30 int nsyms;
31 /* Additional symbol information (got and plt offsets). */
32 struct mod_arch_syminfo *syminfo;
35 #endif /* _ASM_S390_MODULE_H */