]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: make __pagevec_lru_add static
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:01 +0000 (18:50 +0100)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:08 +0000 (20:15 -0400)
commit25b919cc958400c763eb1c749e456eee948cb657
tree6ad40fd92aac64b0e42577d484b4d0e8235fdfc2
parent461ab9f6a503d2a528034449869e7cc3a864b5f5
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>
include/linux/pagevec.h
mm/swap.c