NOMMU: Make VMAs per MM as for MMU-mode linux
[linux-2.6.git] / include / asm-m32r / mmu.h
1 #ifndef _ASM_M32R_MMU_H
2 #define _ASM_M32R_MMU_H
3
4 #if !defined(CONFIG_MMU)
5
6 typedef struct {
7         unsigned long           end_brk;
8 } mm_context_t;
9
10 #else /* CONFIG_MMU */
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
21 #endif /* _ASM_M32R_MMU_H */