projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
[platform/kernel/linux-starfive.git]
/
arch
/
powerpc
/
include
/
asm
/
mmzone.h
diff --git
a/arch/powerpc/include/asm/mmzone.h
b/arch/powerpc/include/asm/mmzone.h
index
3764d35
..
da827d2
100644
(file)
--- a/
arch/powerpc/include/asm/mmzone.h
+++ b/
arch/powerpc/include/asm/mmzone.h
@@
-43,10
+43,5
@@
u64 memory_hotplug_max(void);
#define memory_hotplug_max() memblock_end_of_DRAM()
#endif /* CONFIG_NUMA */
#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_ */
#endif /* __KERNEL__ */
#endif /* _ASM_MMZONE_H_ */