summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2024-03-26 09:11:29 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-04-26 06:56:17 +0300
commitb6dd94596f7fafd162da236b438e31b12d352187 (patch)
tree2bea60e303f0b3318c56a216ebde2df03be60f54 /mm/mm_init.c
parentc091dd963f99a4ae1a5c31bff68e5c2ebd786b07 (diff)
downloadlinux-b6dd94596f7fafd162da236b438e31b12d352187.tar.xz
mm: make __absent_pages_in_range() as static
It's only called in mm/mm_init.c now. Link: https://lkml.kernel.org/r/20240326061134.1055295-4-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org> Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
-rw-r--r--mm/mm_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mm_init.c b/mm/mm_init.c
index 0fe466abde43..19c78b54fc8a 100644
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -1144,7 +1144,7 @@ static void __init adjust_zone_range_for_zone_movable(int nid,
* Return the number of holes in a range on a node. If nid is MAX_NUMNODES,
* then all holes in the requested range will be accounted for.
*/
-unsigned long __init __absent_pages_in_range(int nid,
+static unsigned long __init __absent_pages_in_range(int nid,
unsigned long range_start_pfn,
unsigned long range_end_pfn)
{