4 #include <linux/spinlock.h>
5 #include <linux/mutex.h>
6 #include <linux/atomic.h>
9 * x86 has arch-specific MMU state beyond what lives in mm_struct.
13 * ctx_id uniquely identifies this mm_struct. A ctx_id will never
14 * be reused, and zero is not a valid ctx_id.
18 #ifdef CONFIG_MODIFY_LDT_SYSCALL
19 struct ldt_struct *ldt;
23 /* True if mm supports a task running in 32 bit compatibility mode. */
24 unsigned short ia32_compat;
30 atomic_t perf_rdpmc_allowed; /* nonzero if rdpmc is allowed */
33 #define INIT_MM_CONTEXT(mm) \
38 void leave_mm(int cpu);
40 #endif /* _ASM_X86_MMU_H */