blob: cf3f6d78ac66ab13bc056b2f01f9389ad71a8ea5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_M32R_MMU_H
2#define _ASM_M32R_MMU_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5#if !defined(CONFIG_MMU)
6typedef 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
14typedef unsigned long mm_context_t;
15#else
16typedef unsigned long mm_context_t[NR_CPUS];
17#endif
18
19#endif /* CONFIG_MMU */
20#endif /* _ASM_M32R_MMU_H */