aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
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 /include/linux/swap.h
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 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 0d21e682d99d..2343f999e6e1 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -172,7 +172,7 @@ extern int rotate_reclaimable_page(struct page *page);
172extern void swap_setup(void); 172extern void swap_setup(void);
173 173
174/* linux/mm/vmscan.c */ 174/* linux/mm/vmscan.c */
175extern int try_to_free_pages(struct zone **, unsigned int, unsigned int); 175extern int try_to_free_pages(struct zone **, unsigned int);
176extern int zone_reclaim(struct zone *, unsigned int, unsigned int); 176extern int zone_reclaim(struct zone *, unsigned int, unsigned int);
177extern int shrink_all_memory(int); 177extern int shrink_all_memory(int);
178extern int vm_swappiness; 178extern int vm_swappiness;