]> err.no Git - linux-2.6/blobdiff - include/linux/gfp.h
[PATCH] libata-hp: update unload-unplug
[linux-2.6] / include / linux / gfp.h
index 7851e6b520cf013f4091cd4932f69cb4b00e76b5..3ac452945a7d58fdbe7c4e59fed4373f904798f7 100644 (file)
@@ -57,6 +57,8 @@ struct vm_area_struct;
                        __GFP_NOFAIL|__GFP_NORETRY|__GFP_NO_GROW|__GFP_COMP| \
                        __GFP_NOMEMALLOC|__GFP_HARDWALL)
 
+/* This equals 0, but use constants in case they ever change */
+#define GFP_NOWAIT     (GFP_ATOMIC & ~__GFP_HIGH)
 /* GFP_ATOMIC means both !wait (__GFP_WAIT not set) and use emergency pool */
 #define GFP_ATOMIC     (__GFP_HIGH)
 #define GFP_NOIO       (__GFP_WAIT)