This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-m32r / mmu.h
1 #ifndef _ASM_M32R_MMU_H
2 #define _ASM_M32R_MMU_H
3
4 /* $Id$ */
5
6 #include <linux/config.h>
7
8 #if !defined(CONFIG_MMU)
9 struct mm_rblock_struct {
10   int     size;
11   int     refcount;
12   void    *kblock;
13 };
14
15 struct mm_tblock_struct {
16   struct mm_rblock_struct *rblock;
17   struct mm_tblock_struct *next;
18 };
19
20 typedef struct {
21   struct mm_tblock_struct tblock;
22   unsigned long           end_brk;
23 } mm_context_t;
24 #else
25
26 /* Default "unsigned long" context */
27 #ifndef CONFIG_SMP
28 typedef unsigned long mm_context_t;
29 #else
30 typedef unsigned long mm_context_t[NR_CPUS];
31 #endif
32
33 #endif  /* CONFIG_MMU */
34 #endif  /* _ASM_M32R_MMU_H */
35