From 072de836f53be56a70cecf70b43ae43b7ce17376 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 10:08:36 +0000 Subject: [PATCH] mk-rootfs.sh --- kernel/arch/powerpc/include/asm/mmzone.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kernel/arch/powerpc/include/asm/mmzone.h b/kernel/arch/powerpc/include/asm/mmzone.h index 91c69ff..6cda76b 100644 --- a/kernel/arch/powerpc/include/asm/mmzone.h +++ b/kernel/arch/powerpc/include/asm/mmzone.h @@ -46,5 +46,10 @@ #define __HAVE_ARCH_RESERVED_KERNEL_PAGES #endif +#ifdef CONFIG_MEMORY_HOTPLUG +extern int create_section_mapping(unsigned long start, unsigned long end, + int nid, pgprot_t prot); +#endif + #endif /* __KERNEL__ */ #endif /* _ASM_MMZONE_H_ */ -- Gitblit v1.6.2