mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[PATCH] vm: try_to_free_pages unused argument
try_to_free_pages accepts a third argument, order, but hasn't used it since before 2.6.0. The following patch removes the argument and updates all the calls to try_to_free_pages. Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
cbe37d0937
commit
1ad539b2bd
4 changed files with 4 additions and 5 deletions
|
@ -528,7 +528,7 @@ static void free_more_memory(void)
|
|||
for_each_pgdat(pgdat) {
|
||||
zones = pgdat->node_zonelists[GFP_NOFS&GFP_ZONEMASK].zones;
|
||||
if (*zones)
|
||||
try_to_free_pages(zones, GFP_NOFS, 0);
|
||||
try_to_free_pages(zones, GFP_NOFS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue