mmu.h 396 B

12345678910111213141516171819202122
  1. #ifndef _ASM_M32R_MMU_H
  2. #define _ASM_M32R_MMU_H
  3. #if !defined(CONFIG_MMU)
  4. typedef struct {
  5. struct vm_list_struct *vmlist;
  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 */