This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-i386 / mmu.h
1 #ifndef __i386_MMU_H
2 #define __i386_MMU_H
3
4 #include <asm/semaphore.h>
5 /*
6  * The i386 doesn't have a mmu context, but
7  * we put the segment information here.
8  *
9  * cpu_vm_mask is used to optimize ldt flushing.
10  *
11  * exec_limit is used to track the range PROT_EXEC
12  * mappings span.
13  */
14
15 #define MAX_LDT_PAGES 16
16
17 typedef struct { 
18         int size;
19         struct semaphore sem;
20         struct page *ldt_pages[MAX_LDT_PAGES];
21         struct desc_struct user_cs;
22         unsigned long exec_limit;
23         void *vdso;
24 } mm_context_t;
25
26 #endif