2005-04-17 02:20:36 +04:00
|
|
|
#ifndef _ASM_M32R_MMU_H
|
|
|
|
#define _ASM_M32R_MMU_H
|
|
|
|
|
|
|
|
#if !defined(CONFIG_MMU)
|
2007-02-10 12:43:40 +03:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
typedef struct {
|
|
|
|
struct vm_list_struct *vmlist;
|
|
|
|
unsigned long end_brk;
|
|
|
|
} mm_context_t;
|
2007-02-10 12:43:40 +03:00
|
|
|
|
|
|
|
#else /* CONFIG_MMU */
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
/* Default "unsigned long" context */
|
|
|
|
#ifndef CONFIG_SMP
|
|
|
|
typedef unsigned long mm_context_t;
|
|
|
|
#else
|
|
|
|
typedef unsigned long mm_context_t[NR_CPUS];
|
|
|
|
#endif
|
|
|
|
|
2007-02-10 12:43:40 +03:00
|
|
|
#endif /* CONFIG_MMU */
|
|
|
|
|
|
|
|
#endif /* _ASM_M32R_MMU_H */
|