blob: df1f861a848a1ef85a2b902d7bf45a1ad6e81cef [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_S390_MODULE_H
2#define _ASM_S390_MODULE_H
David Howells786d35d2012-09-28 14:31:03 +09303
4#include <asm-generic/module.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/*
7 * This file contains the s390 architecture specific module code.
8 */
9
10struct mod_arch_syminfo
11{
12 unsigned long got_offset;
13 unsigned long plt_offset;
14 int got_initialized;
15 int plt_initialized;
16};
17
18struct 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#endif /* _ASM_S390_MODULE_H */