mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fbd98167e6
commit
980128f223
3 changed files with 4 additions and 5 deletions
|
|
@ -741,9 +741,7 @@ static struct page *new_page_node(struct page *p, unsigned long private,
|
|||
|
||||
*result = &pm->status;
|
||||
|
||||
return alloc_pages_node(pm->node,
|
||||
GFP_HIGHUSER | __GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY,
|
||||
0);
|
||||
return alloc_pages_node(pm->node, GFP_HIGHUSER | GFP_THISNODE, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue