diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 9eac9d46f54b0d8eed5f5c9bb23451d0cfb664f4..5f844337de2128801a465455d3c0790a3564972d 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -116,6 +116,16 @@ int memory_add_physaddr_to_nid(u64 start) } #endif +int __weak create_section_mapping(unsigned long start, unsigned long end) +{ + return -ENODEV; +} + +int __weak remove_section_mapping(unsigned long start, unsigned long end) +{ + return -ENODEV; +} + int arch_add_memory(int nid, u64 start, u64 size, bool for_device) { struct pglist_data *pgdata;