mm/core, x86/mm/pkeys: Differentiate instruction fetches
[linux-2.6-block.git] / include / linux / mm.h
index 2aaa0f0d67ea07559d4de6a3899639a0c7adf539..7955c3eb83dbf663f9aa8ebe2c719e9267b79425 100644 (file)
@@ -252,6 +252,7 @@ extern pgprot_t protection_map[16];
 #define FAULT_FLAG_TRIED       0x20    /* Second try */
 #define FAULT_FLAG_USER                0x40    /* The fault originated in userspace */
 #define FAULT_FLAG_REMOTE      0x80    /* faulting for non current tsk/mm */
+#define FAULT_FLAG_INSTRUCTION  0x100  /* The fault was during an instruction fetch */
 
 /*
  * vm_fault is filled by the the pagefault handler and passed to the vma's