aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-11-01 13:22:55 -0500
committerSteve French <sfrench@us.ibm.com>2005-11-01 13:22:55 -0500
commit7f28570185f98bfa83f775756ced79e9f22b6d93 (patch)
treed193adb5d9597ff002ab1aa3a4d966458098b44a /mm
parentef0eaa13362041f531f951b89362bfbc177e2bc0 (diff)
Export __pagevec_release and pagevec_lookup_tag
These are needed to implement cifs_writepages Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/swap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/swap.c b/mm/swap.c
index 96387e20184a..154ae13d8b7e 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -259,6 +259,8 @@ void __pagevec_release(struct pagevec *pvec)
259 pagevec_reinit(pvec); 259 pagevec_reinit(pvec);
260} 260}
261 261
262EXPORT_SYMBOL(__pagevec_release);
263
262/* 264/*
263 * pagevec_release() for pages which are known to not be on the LRU 265 * pagevec_release() for pages which are known to not be on the LRU
264 * 266 *
@@ -387,6 +389,7 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
387 return pagevec_count(pvec); 389 return pagevec_count(pvec);
388} 390}
389 391
392EXPORT_SYMBOL(pagevec_lookup_tag);
390 393
391#ifdef CONFIG_SMP 394#ifdef CONFIG_SMP
392/* 395/*