lowmemorykiller:fix arguments to zone_watermark_ok_safe
The alloc_flags argument of zone_watermark_ok_safe() is no more available. Fix the usage. Change-Id: I99b832418b914765a4941682929dd7183d274e1c Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
This commit is contained in:
parent
ea2143f756
commit
496a85d2ef
1 changed files with 1 additions and 2 deletions
|
@ -302,8 +302,7 @@ void adjust_gfp_mask(gfp_t *gfp_mask)
|
|||
if (high_zoneidx == ZONE_NORMAL) {
|
||||
if (zone_watermark_ok_safe(
|
||||
preferred_zone, 0,
|
||||
high_wmark_pages(preferred_zone), 0,
|
||||
0))
|
||||
high_wmark_pages(preferred_zone), 0))
|
||||
*gfp_mask |= __GFP_HIGHMEM;
|
||||
} else if (high_zoneidx == ZONE_HIGHMEM) {
|
||||
*gfp_mask |= __GFP_HIGHMEM;
|
||||
|
|
Loading…
Add table
Reference in a new issue