Re: [PATCH] powerpc/smp: Add __init to init_big_cores()
From: Michael Ellerman <hidden>
Date: 2020-12-22 13:22:12
From: Michael Ellerman <hidden>
Date: 2020-12-22 13:22:12
On Mon, 21 Dec 2020 08:41:54 +0100, C��dric Le Goater wrote:
It fixes this link warning: WARNING: modpost: vmlinux.o(.text.unlikely+0x2d98): Section mismatch in reference from the function init_big_cores.isra.0() to the function .init.text:init_thread_group_cache_map() The function init_big_cores.isra.0() references the function __init init_thread_group_cache_map(). This is often because init_big_cores.isra.0 lacks a __init annotation or the annotation of init_thread_group_cache_map is wrong.
Applied to powerpc/fixes.
[1/1] powerpc/smp: Add __init to init_big_cores()
https://git.kernel.org/powerpc/c/9014eab6a38c60fd185bc92ed60f46cf99a462ab
cheers