mmu.h 364 B

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