x86, mpx: Introduce VM_MPX to indicate that a VMA is MPX specific
[cascardo/linux.git] / fs / proc / task_mmu.c
index 4e0388c..f6734c6 100644 (file)
@@ -552,6 +552,9 @@ static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma)
                [ilog2(VM_GROWSDOWN)]   = "gd",
                [ilog2(VM_PFNMAP)]      = "pf",
                [ilog2(VM_DENYWRITE)]   = "dw",
+#ifdef CONFIG_X86_INTEL_MPX
+               [ilog2(VM_MPX)]         = "mp",
+#endif
                [ilog2(VM_LOCKED)]      = "lo",
                [ilog2(VM_IO)]          = "io",
                [ilog2(VM_SEQ_READ)]    = "sr",