This is a cleanup patch. Rename mminit_verify_zonelist to mminit_verify_nodelist. Signed-off-by: Pengfei Li <fly@xxxxxxxxxxx> --- mm/internal.h | 4 ++-- mm/mm_init.c | 2 +- mm/page_alloc.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/internal.h b/mm/internal.h index 90008f9fe7d9..73ba9b6376cd 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -443,7 +443,7 @@ do { \ } while (0) extern void mminit_verify_pageflags_layout(void); -extern void mminit_verify_zonelist(void); +extern void mminit_verify_nodelist(void); #else static inline void mminit_dprintk(enum mminit_level level, @@ -455,7 +455,7 @@ static inline void mminit_verify_pageflags_layout(void) { } -static inline void mminit_verify_zonelist(void) +static inline void mminit_verify_nodelist(void) { } #endif /* CONFIG_DEBUG_MEMORY_INIT */ diff --git a/mm/mm_init.c b/mm/mm_init.c index 448e3228a911..ac91374b0e95 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -59,7 +59,7 @@ void __init mminit_print_nodelist(int nid, int nl_type) } /* The zonelists are simply reported, validation is manual. */ -void __init mminit_verify_zonelist(void) +void __init mminit_verify_nodelist(void) { int nid; diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3987b8e97158..5b735eb88c0d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5803,7 +5803,7 @@ build_all_zonelists_init(void) for_each_possible_cpu(cpu) setup_pageset(&per_cpu(boot_pageset, cpu), 0); - mminit_verify_zonelist(); + mminit_verify_nodelist(); cpuset_init_current_mems_allowed(); } -- 2.23.0