ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-xen/asm-i386/mmu.h @ 8534:da7873110bbb

Tiny bootstrap cleanup.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jan 09 19:46:46 2006 +0100 (2006-01-09)
parents 25599e222c33
children
line source
1 #ifndef __i386_MMU_H
2 #define __i386_MMU_H
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 typedef struct {
12 int size;
13 struct semaphore sem;
14 void *ldt;
15 } mm_context_t;
17 /* mm/memory.c:exit_mmap hook */
18 extern void _arch_exit_mmap(struct mm_struct *mm);
19 #define arch_exit_mmap(_mm) _arch_exit_mmap(_mm)
21 #endif