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