powerpc/mm: Fix section mismatch warning
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Sat, 30 Mar 2019 05:43:45 +0000 (11:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:12:40 +0000 (23:12 +1000)
commit26ad26718dfaa7cf49d106d212ebf2370076c253
treeb38d101e70ed2ae6f14dfd95f6cca9c9deee6542
parent5f53d28608f600d9ee07378453bd2d49e132fff4
powerpc/mm: Fix section mismatch warning

This patch fix the below section mismatch warnings.

WARNING: vmlinux.o(.text+0x2d1f44): Section mismatch in reference from the function devm_memremap_pages_release() to the function .meminit.text:arch_remove_memory()
WARNING: vmlinux.o(.text+0x2d265c): Section mismatch in reference from the function devm_memremap_pages() to the function .meminit.text:arch_add_memory()

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mem.c