aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDarren Hart <dvhltc@us.ibm.com>2005-06-21 20:14:53 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 21:46:17 -0400
commit1ad539b2bd89bf2e129123eb24d5bcc4484a35de (patch)
treee416e208cdbd5d9890d39e39384e4ec913c26ef6 /mm/page_alloc.c
parentcbe37d093707762fc0abb280781e6a82a9d8d568 (diff)
[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>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 95cbd30a67b8..70f710286ced 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -859,7 +859,7 @@ rebalance:
859 reclaim_state.reclaimed_slab = 0; 859 reclaim_state.reclaimed_slab = 0;
860 p->reclaim_state = &reclaim_state; 860 p->reclaim_state = &reclaim_state;
861 861
862 did_some_progress = try_to_free_pages(zones, gfp_mask, order); 862 did_some_progress = try_to_free_pages(zones, gfp_mask);
863 863
864 p->reclaim_state = NULL; 864 p->reclaim_state = NULL;
865 p->flags &= ~PF_MEMALLOC; 865 p->flags &= ~PF_MEMALLOC;