x86, mpx: On-demand kernel allocation of bounds tables
[pandora-kernel.git] / include / linux / mm_types.h
index 6e0b286..004e9d1 100644 (file)
@@ -454,6 +454,10 @@ struct mm_struct {
        bool tlb_flush_pending;
 #endif
        struct uprobes_state uprobes_state;
+#ifdef CONFIG_X86_INTEL_MPX
+       /* address of the bounds directory */
+       void __user *bd_addr;
+#endif
 };
 
 static inline void mm_init_cpumask(struct mm_struct *mm)