x86/ldt: Make modify_ldt synchronous
[pandora-kernel.git] / arch / x86 / include / asm / mmu.h
index aeff3e8..926f672 100644 (file)
@@ -9,16 +9,15 @@
  * we put the segment information here.
  */
 typedef struct {
-       void *ldt;
-       int size;
-       struct mutex lock;
-       void *vdso;
+       struct ldt_struct *ldt;
 
 #ifdef CONFIG_X86_64
        /* True if mm supports a task running in 32 bit compatibility mode. */
        unsigned short ia32_compat;
 #endif
 
+       struct mutex lock;
+       void *vdso;
 } mm_context_t;
 
 #ifdef CONFIG_SMP