mmu.h 396 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#ifndef _ASM_M32R_MMU_H
#define _ASM_M32R_MMU_H

#if !defined(CONFIG_MMU)
5

L
Linus Torvalds 已提交
6 7 8 9
typedef struct {
	struct vm_list_struct	*vmlist;
	unsigned long		end_brk;
} mm_context_t;
10 11

#else /* CONFIG_MMU */
L
Linus Torvalds 已提交
12 13 14 15 16 17 18 19

/* Default "unsigned long" context */
#ifndef CONFIG_SMP
typedef unsigned long mm_context_t;
#else
typedef unsigned long mm_context_t[NR_CPUS];
#endif

20 21 22
#endif /* CONFIG_MMU */

#endif /* _ASM_M32R_MMU_H */