mmu.h 403 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_M32R_MMU_H
  3. #define _ASM_M32R_MMU_H
  4. #if !defined(CONFIG_MMU)
  5. typedef struct {
  6. unsigned long end_brk;
  7. } mm_context_t;
  8. #else /* CONFIG_MMU */
  9. /* Default "unsigned long" context */
  10. #ifndef CONFIG_SMP
  11. typedef unsigned long mm_context_t;
  12. #else
  13. typedef unsigned long mm_context_t[NR_CPUS];
  14. #endif
  15. #endif /* CONFIG_MMU */
  16. #endif /* _ASM_M32R_MMU_H */