提交 55c2f557 编写于 作者: M Michael Ellerman

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: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210314093333.132657-1-mpe@ellerman.id.au
上级 c2a2a5d0
...@@ -828,7 +828,7 @@ static __init void print_system_info(void) ...@@ -828,7 +828,7 @@ static __init void print_system_info(void)
} }
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
static void smp_setup_pacas(void) static void __init smp_setup_pacas(void)
{ {
int cpu; int cpu;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册