提交 265601f0 编写于 作者: C Cédric Le Goater 提交者: Michael Ellerman

powerpc/xive: Fix section __init warning

xive_spapr_init() is called from a __init routine and calls __init
routines.
Signed-off-by: NCédric Le Goater <clg@kaod.org>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 4716e488
......@@ -593,7 +593,7 @@ static bool xive_get_max_prio(u8 *max_prio)
return true;
}
bool xive_spapr_init(void)
bool __init xive_spapr_init(void)
{
struct device_node *np;
struct resource r;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册