aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.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/vmscan.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/vmscan.c')
-rw-r--r--mm/vmscan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 24da725a30f0..4b8e62a19370 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -919,8 +919,7 @@ shrink_caches(struct zone **zones, struct scan_control *sc)
919 * holds filesystem locks which prevent writeout this might not work, and the 919 * holds filesystem locks which prevent writeout this might not work, and the
920 * allocation attempt will fail. 920 * allocation attempt will fail.
921 */ 921 */
922int try_to_free_pages(struct zone **zones, 922int try_to_free_pages(struct zone **zones, unsigned int gfp_mask)
923 unsigned int gfp_mask, unsigned int order)
924{ 923{
925 int priority; 924 int priority;
926 int ret = 0; 925 int ret = 0;