Re: powerpc/mm: Fix section mismatch warning

2019-04-21 Thread Michael Ellerman
On Sat, 2019-03-30 at 05:43:45 UTC, "Aneesh Kumar K.V" wrote: > 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() > WARNI

Re: powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()

2018-03-28 Thread Michael Ellerman
On Fri, 2018-03-09 at 20:45:58 UTC, Mauricio Faria de Oliveira wrote: > Fix the warning messages for stop_machine_change_mapping(), and a number > of other affected functions in its call chain. > > All modified functions are under CONFIG_MEMORY_HOTPLUG, so __meminit > is okay (keeps them / does no

Re: powerpc/mm: Fix section mismatch warning in early_check_vec5()

2017-08-11 Thread Michael Ellerman
On Tue, 2017-08-08 at 11:44:08 UTC, Michael Ellerman wrote: > early_check_vec5() is called from and calls __init routines, so should > also be __init. > > Signed-off-by: Michael Ellerman Applied to powerpc next. https://git.kernel.org/powerpc/c/7559952e1f6f95091b00352c5ba863 cheers