summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-09 17:20:09 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-09 17:20:09 -0800
commitaafeed4acb2307b07383ed70e781c091cccf3ddd (patch)
tree907cc24f50789fc40de63a9921286efd60a65263 /include/linux
parent72bd4e564ad30acdb43767eb5555032b14cb0195 (diff)
Don't use __GFP_CLEAR for user pages.
It doesn't do the virtual cache synchronization that clear_user_highpage() does. Pointed out by Hugh Dickins.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gfp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index 823589766569..b526b21bad1c 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -53,7 +53,6 @@ struct vm_area_struct;
#define GFP_KERNEL (__GFP_WAIT | __GFP_IO | __GFP_FS)
#define GFP_USER (__GFP_WAIT | __GFP_IO | __GFP_FS)
#define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HIGHMEM)
-#define GFP_HIGHZERO (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HIGHMEM | __GFP_ZERO)
/* Flag - indicates that the buffer will be suitable for DMA. Ignored on some
platforms, used as appropriate on others */