xref: /openbmc/linux/arch/x86/um/asm/module.h (revision 93d90ad7)
1 #ifndef __UM_MODULE_H
2 #define __UM_MODULE_H
3 
4 /* UML is simple */
5 struct mod_arch_specific
6 {
7 };
8 
9 #ifdef CONFIG_X86_32
10 
11 #define Elf_Shdr Elf32_Shdr
12 #define Elf_Sym Elf32_Sym
13 #define Elf_Ehdr Elf32_Ehdr
14 
15 #else
16 
17 #define Elf_Shdr Elf64_Shdr
18 #define Elf_Sym Elf64_Sym
19 #define Elf_Ehdr Elf64_Ehdr
20 
21 #endif
22 
23 #endif
24