1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 25c48b108SAl Viro #ifndef __UM_MODULE_H 35c48b108SAl Viro #define __UM_MODULE_H 45c48b108SAl Viro 55c48b108SAl Viro /* UML is simple */ 65c48b108SAl Viro struct mod_arch_specific 75c48b108SAl Viro { 85c48b108SAl Viro }; 95c48b108SAl Viro 105c48b108SAl Viro #ifdef CONFIG_X86_32 115c48b108SAl Viro 125c48b108SAl Viro #define Elf_Shdr Elf32_Shdr 135c48b108SAl Viro #define Elf_Sym Elf32_Sym 145c48b108SAl Viro #define Elf_Ehdr Elf32_Ehdr 155c48b108SAl Viro 165c48b108SAl Viro #else 175c48b108SAl Viro 185c48b108SAl Viro #define Elf_Shdr Elf64_Shdr 195c48b108SAl Viro #define Elf_Sym Elf64_Sym 205c48b108SAl Viro #define Elf_Ehdr Elf64_Ehdr 215c48b108SAl Viro 225c48b108SAl Viro #endif 235c48b108SAl Viro 245c48b108SAl Viro #endif 25