On 2024/1/18 22:22, Kefeng Wang wrote:
On 2024/1/18 20:39, Gang Li wrote:
include/linux/hugetlb.h | 2 +-
mm/hugetlb.c | 42 +++++++++++++++++++++++++++++++++--------
2 files changed, 35 insertions(+), 9 deletions(-)
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index c1ee640d87b1..77b30a8c6076 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -178,7 +178,7 @@ pte_t *huge_pmd_share(struct mm_struct *mm, struct
vm_area_struct *vma,
struct address_space *hugetlb_page_mapping_lock_write(struct page
*hpage);
extern int sysctl_hugetlb_shm_group;
-extern struct list_head huge_boot_pages;
+extern struct list_head huge_boot_pages[MAX_NUMNODES];
Hi, please update arch/powerpc/mm/hugetlbpage.c too, since it
was used in ppc.
Thanks, will do