From: Hans Reiser <
[email protected]>
This patch exports __pagevec_release and pagevec_lookup_tag. As it looks like
they are intended to be external symbols.
Signed-off-by: Andrew Morton <
[email protected]>
---
25-akpm/mm/swap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -puN mm/swap.c~reiser4-export-pagevec-funcs mm/swap.c
--- 25/mm/swap.c~reiser4-export-pagevec-funcs Wed Mar 30 14:54:37 2005
+++ 25-akpm/mm/swap.c Wed Mar 30 14:54:37 2005
@@ -258,6 +258,7 @@ void __pagevec_release(struct pagevec *p
release_pages(pvec->pages, pagevec_count(pvec), pvec->cold);
pagevec_reinit(pvec);
}
+EXPORT_SYMBOL(__pagevec_release);
/*
* pagevec_release() for pages which are known to not be on the LRU
@@ -387,7 +388,7 @@ unsigned pagevec_lookup_tag(struct pagev
nr_pages, pvec->pages);
return pagevec_count(pvec);
}
-
+EXPORT_SYMBOL(pagevec_lookup_tag);
#ifdef CONFIG_SMP
/*
_