Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_M32R_MMU_H |
| 2 | #define _ASM_M32R_MMU_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | #if !defined(CONFIG_MMU) |
| 6 | typedef struct { |
| 7 | struct vm_list_struct *vmlist; |
| 8 | unsigned long end_brk; |
| 9 | } mm_context_t; |
| 10 | #else |
| 11 | |
| 12 | /* Default "unsigned long" context */ |
| 13 | #ifndef CONFIG_SMP |
| 14 | typedef unsigned long mm_context_t; |
| 15 | #else |
| 16 | typedef unsigned long mm_context_t[NR_CPUS]; |
| 17 | #endif |
| 18 | |
| 19 | #endif /* CONFIG_MMU */ |
| 20 | #endif /* _ASM_M32R_MMU_H */ |