]> git.baikalelectronics.ru Git - kernel.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)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:45 +0000 (18:08 -0700)
commitd1f4f59bf10e368071024ad4eaa1ab7bde1d7912
tree59b9f9f71dd997127e976eec986ee781e162beff
parent8d159515b43dc282cc58f5ac60073d991d347fe6
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