powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
[platform/kernel/linux-starfive.git] / arch / powerpc / include / asm / mmzone.h
index 3764d35..da827d2 100644 (file)
@@ -43,10 +43,5 @@ u64 memory_hotplug_max(void);
 #define memory_hotplug_max() memblock_end_of_DRAM()
 #endif /* CONFIG_NUMA */
 
-#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_ */