blob: 5e249c51ef56bf8b28ee1ca29d05167152dab424 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __i386_MMU_H
2#define __i386_MMU_H
3
Luiz Fernando N. Capitulinode8aacb2007-10-17 18:04:41 +02004#include <linux/mutex.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005/*
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 */
11typedef struct {
12 int size;
Luiz Fernando N. Capitulinode8aacb2007-10-17 18:04:41 +020013 struct mutex lock;
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 void *ldt;
Ingo Molnare6e54942006-06-27 02:53:50 -070015 void *vdso;
Linus Torvalds1da177e2005-04-16 15:20:36 -070016} mm_context_t;
17
18#endif