diff options
Diffstat (limited to 'include/asm-m32r/mmu.h')
-rw-r--r-- | include/asm-m32r/mmu.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-m32r/mmu.h b/include/asm-m32r/mmu.h new file mode 100644 index 000000000000..9c00eb78ee50 --- /dev/null +++ b/include/asm-m32r/mmu.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef _ASM_M32R_MMU_H | ||
2 | #define _ASM_M32R_MMU_H | ||
3 | |||
4 | #include <linux/config.h> | ||
5 | |||
6 | #if !defined(CONFIG_MMU) | ||
7 | typedef struct { | ||
8 | struct vm_list_struct *vmlist; | ||
9 | unsigned long end_brk; | ||
10 | } mm_context_t; | ||
11 | #else | ||
12 | |||
13 | /* Default "unsigned long" context */ | ||
14 | #ifndef CONFIG_SMP | ||
15 | typedef unsigned long mm_context_t; | ||
16 | #else | ||
17 | typedef unsigned long mm_context_t[NR_CPUS]; | ||
18 | #endif | ||
19 | |||
20 | #endif /* CONFIG_MMU */ | ||
21 | #endif /* _ASM_M32R_MMU_H */ | ||