projects
/
linux-flexiantxendom0-3.2.10.git
/ blob
a709a65e766b178f1fda399ed558c6335d9ff915
[linux-flexiantxendom0-3.2.10.git]
/
include
/
asm-x86_64
/
mmu.h
1
#ifndef __x86_64_MMU_H
2
#define __x86_64_MMU_H
3
4
#include <linux/spinlock.h>
5
6
/*
7
* The x86_64 doesn't have a mmu context, but
8
* we put the segment information here.
9
*
10
* cpu_vm_mask is used to optimize ldt flushing.
11
*/
12
typedef struct {
13
void *ldt;
14
rwlock_t ldtlock;
15
int size;
16
struct semaphore sem;
17
} mm_context_t;
18
19
#endif