Avoid beyond bounds copy while caching ACL
[zen-stable.git] / arch / avr32 / include / asm / module.h
blob451444538a1b06d2121c40bcc81d6b08a8cc3427
1 #ifndef __ASM_AVR32_MODULE_H
2 #define __ASM_AVR32_MODULE_H
4 struct mod_arch_syminfo {
5 unsigned long got_offset;
6 int got_initialized;
7 };
9 struct mod_arch_specific {
10 /* Starting offset of got in the module core memory. */
11 unsigned long got_offset;
12 /* Size of the got. */
13 unsigned long got_size;
14 /* Number of symbols in syminfo. */
15 int nsyms;
16 /* Additional symbol information (got offsets). */
17 struct mod_arch_syminfo *syminfo;
20 #define Elf_Shdr Elf32_Shdr
21 #define Elf_Sym Elf32_Sym
22 #define Elf_Ehdr Elf32_Ehdr
24 #define MODULE_PROC_FAMILY "AVR32v1"
26 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
28 #endif /* __ASM_AVR32_MODULE_H */