mmu.h 449 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_GENERIC_MMU_H
  3. #define __ASM_GENERIC_MMU_H
  4. /*
  5. * This is the mmu.h header for nommu implementations.
  6. * Architectures with an MMU need something more complex.
  7. */
  8. #ifndef __ASSEMBLY__
  9. typedef struct {
  10. unsigned long end_brk;
  11. #ifdef CONFIG_BINFMT_ELF_FDPIC
  12. unsigned long exec_fdpic_loadmap;
  13. unsigned long interp_fdpic_loadmap;
  14. #endif
  15. } mm_context_t;
  16. #endif
  17. #endif /* __ASM_GENERIC_MMU_H */