diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-26 02:31:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:48:50 -0400 |
commit | 980128f223fa3c75e3ebdde650c9f1bcabd4c0a2 (patch) | |
tree | b0fa592cf621cebc674b9ec1a4ab4e2558ec7aaf /include/linux/gfp.h | |
parent | fbd98167e653535c5816be154f2149c0efa7757d (diff) |
[PATCH] Define easier to handle GFP_THISNODE
In many places we will need to use the same combination of flags. Specify
a single GFP_THISNODE definition for ease of use in gfp.h.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/gfp.h')
-rw-r--r-- | include/linux/gfp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 0eda5b6dedb..8b34aabfe4c 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h | |||
@@ -67,6 +67,8 @@ struct vm_area_struct; | |||
67 | #define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL | \ | 67 | #define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL | \ |
68 | __GFP_HIGHMEM) | 68 | __GFP_HIGHMEM) |
69 | 69 | ||
70 | #define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) | ||
71 | |||
70 | /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some | 72 | /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some |
71 | platforms, used as appropriate on others */ | 73 | platforms, used as appropriate on others */ |
72 | 74 | ||