module.h 421 B

1234567891011121314151617181920212223
  1. #ifndef __ASM_GENERIC_MODULE_H
  2. #define __ASM_GENERIC_MODULE_H
  3. /*
  4. * Many architectures just need a simple module
  5. * loader without arch specific data.
  6. */
  7. struct mod_arch_specific
  8. {
  9. };
  10. #ifdef CONFIG_64BIT
  11. #define Elf_Shdr Elf64_Shdr
  12. #define Elf_Sym Elf64_Sym
  13. #define Elf_Ehdr Elf64_Ehdr
  14. #else
  15. #define Elf_Shdr Elf32_Shdr
  16. #define Elf_Sym Elf32_Sym
  17. #define Elf_Ehdr Elf32_Ehdr
  18. #endif
  19. #endif /* __ASM_GENERIC_MODULE_H */