diff options
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -259,6 +259,8 @@ void __pagevec_release(struct pagevec *pvec) | |||
259 | pagevec_reinit(pvec); | 259 | pagevec_reinit(pvec); |
260 | } | 260 | } |
261 | 261 | ||
262 | EXPORT_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 | * |
@@ -270,7 +272,6 @@ void __pagevec_release_nonlru(struct pagevec *pvec) | |||
270 | struct pagevec pages_to_free; | 272 | struct pagevec pages_to_free; |
271 | 273 | ||
272 | pagevec_init(&pages_to_free, pvec->cold); | 274 | pagevec_init(&pages_to_free, pvec->cold); |
273 | pages_to_free.cold = pvec->cold; | ||
274 | for (i = 0; i < pagevec_count(pvec); i++) { | 275 | for (i = 0; i < pagevec_count(pvec); i++) { |
275 | struct page *page = pvec->pages[i]; | 276 | struct page *page = pvec->pages[i]; |
276 | 277 | ||
@@ -388,6 +389,7 @@ unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, | |||
388 | return pagevec_count(pvec); | 389 | return pagevec_count(pvec); |
389 | } | 390 | } |
390 | 391 | ||
392 | EXPORT_SYMBOL(pagevec_lookup_tag); | ||
391 | 393 | ||
392 | #ifdef CONFIG_SMP | 394 | #ifdef CONFIG_SMP |
393 | /* | 395 | /* |