summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 9c0e441664d4..00a46a5d5c9d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -3229,8 +3229,6 @@ static inline unsigned long get_num_physpages(void)
*/
void free_area_init(unsigned long *max_zone_pfn);
unsigned long node_map_pfn_alignment(void);
-unsigned long __absent_pages_in_range(int nid, unsigned long start_pfn,
- unsigned long end_pfn);
extern unsigned long absent_pages_in_range(unsigned long start_pfn,
unsigned long end_pfn);
extern void get_pfn_range_for_nid(unsigned int nid,