Re: [PATCH 5/5] powerpc/64s: Fix CONFIG_NUMA=n build
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2023-11-29 13:27:11
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2023-11-29 13:27:11
On Wed, Nov 29, 2023, at 14:19, Michael Ellerman wrote:
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 7f9ff0640124..72341b9fb552 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h + +#ifdef CONFIG_MEMORY_HOTPLUG +int create_section_mapping(unsigned long start, unsigned long end, + int nid, pgprot_t prot); +#endif
This one should probably go next to the remove_section_mapping()
declaration in arch/powerpc/include/asm/sparsemem.h for consistency.
I would personally remove the #ifdef as well, but there is
already one in that file.
Arnd