powerpc/smp: Add __init to init_big_cores()
authorCédric Le Goater <clg@kaod.org>
Mon, 21 Dec 2020 07:41:54 +0000 (08:41 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Dec 2020 11:06:10 +0000 (22:06 +1100)
commit9014eab6a38c60fd185bc92ed60f46cf99a462ab
tree8383fd7f6b301d7de5e149f9dce476d56b240121
parent0faa22f09caadc11af2aa7570870ebd2ac5b8170
powerpc/smp: Add __init to init_big_cores()

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.

Fixes: 425752c63b6f ("powerpc: Detect the presence of big-cores via "ibm, thread-groups"")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201221074154.403779-1-clg@kaod.org
arch/powerpc/kernel/smp.c