]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix section mismatch warning in smp_setup_pacas()
authorMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Mar 2021 09:33:33 +0000 (20:33 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 02:22:14 +0000 (13:22 +1100)
commit0d67598f53d474748f050f7254f74b9b56b75bdf
tree902d04774f815b9c5d5592cb473620042db48299
parentcfdbaa398b3d1fc6089a6d9060127c21beacb2de
powerpc: Fix section mismatch warning in smp_setup_pacas()

Section mismatch in reference from the function .smp_setup_pacas() to
the function .init.text:.allocate_paca()

The only caller of smp_setup_pacas() is setup_arch() which is __init,
so mark smp_setup_pacas() __init.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210314093333.132657-1-mpe@ellerman.id.au
arch/powerpc/kernel/setup-common.c