mmu.h 405 B

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