aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pagevec.h
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-06-17 18:50:01 +0100
committerGravatar akpm <akpm@linux-foundation.org> 2022-07-03 18:08:45 -0700
commit7d80dd096f8f889128f67a2d452e4dadeed71e63 (patch)
tree59b9f9f71dd997127e976eec986ee781e162beff /include/linux/pagevec.h
parentmm/swap: add folio_batch_move_lru() (diff)
downloadlinux-7d80dd096f8f889128f67a2d452e4dadeed71e63.tar.gz
linux-7d80dd096f8f889128f67a2d452e4dadeed71e63.tar.bz2
linux-7d80dd096f8f889128f67a2d452e4dadeed71e63.zip
mm/swap: make __pagevec_lru_add static
__pagevec_lru_add has no callers outside swap.c, so make it static, and move it to a more logical position in the file. Link: https://lkml.kernel.org/r/20220617175020.717127-4-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/pagevec.h')
-rw-r--r--include/linux/pagevec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pagevec.h b/include/linux/pagevec.h
index 67b1246f136b..b0e3540f3a4c 100644
--- a/include/linux/pagevec.h
+++ b/include/linux/pagevec.h
@@ -26,7 +26,6 @@ struct pagevec {
};
void __pagevec_release(struct pagevec *pvec);
-void __pagevec_lru_add(struct pagevec *pvec);
unsigned pagevec_lookup_range(struct pagevec *pvec,
struct address_space *mapping,
pgoff_t *start, pgoff_t end);