projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Slab allocators: consistent ZERO_SIZE_PTR support and NULL result semantics
[deliverable/linux.git]
/
include
/
linux
/
gfp.h
diff --git
a/include/linux/gfp.h
b/include/linux/gfp.h
index e5882fe49f8345e541368f19a9264e84f1ea139d..bc68dd9a6d41f8035fa9d1f0dcc27578085fe1b5 100644
(file)
--- a/
include/linux/gfp.h
+++ b/
include/linux/gfp.h
@@
-106,6
+106,9
@@
static inline enum zone_type gfp_zone(gfp_t flags)
if (flags & __GFP_DMA32)
return ZONE_DMA32;
#endif
+ if ((flags & (__GFP_HIGHMEM | __GFP_MOVABLE)) ==
+ (__GFP_HIGHMEM | __GFP_MOVABLE))
+ return ZONE_MOVABLE;
#ifdef CONFIG_HIGHMEM
if (flags & __GFP_HIGHMEM)
return ZONE_HIGHMEM;
This page took
0.028767 seconds
and
5
git commands to generate.