]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - arch/s390/include/asm/module.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / arch / s390 / include / asm / module.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _ASM_S390_MODULE_H
3#define _ASM_S390_MODULE_H
786d35d4
DH
4
5#include <asm-generic/module.h>
6
1da177e4
LT
7/*
8 * This file contains the s390 architecture specific module code.
9 */
10
11struct mod_arch_syminfo
12{
13 unsigned long got_offset;
14 unsigned long plt_offset;
15 int got_initialized;
16 int plt_initialized;
17};
18
19struct mod_arch_specific
20{
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;
33};
34
1da177e4 35#endif /* _ASM_S390_MODULE_H */