]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/pagemap.h
mmu-notifiers: add mm_take_all_locks() operation
[net-next-2.6.git] / include / linux / pagemap.h
index a81d818904221a30119aea1731e85512911aaf5e..a39b38ccdc976e920b077fcd484cabb8cc402ba8 100644 (file)
@@ -20,6 +20,7 @@
  */
 #define        AS_EIO          (__GFP_BITS_SHIFT + 0)  /* IO error on async write */
 #define AS_ENOSPC      (__GFP_BITS_SHIFT + 1)  /* ENOSPC on async write */
+#define AS_MM_ALL_LOCKS        (__GFP_BITS_SHIFT + 2)  /* under mm_take_all_locks() */
 
 static inline void mapping_set_error(struct address_space *mapping, int error)
 {