powerpc/xive: Fix section mismatch warnings
Both xive_core_init() and xive_native_init() are called from and call __init routines, so they should also be __init. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
@@ -1399,8 +1399,8 @@ void xive_shutdown(void)
|
||||
xive_ops->shutdown();
|
||||
}
|
||||
|
||||
bool xive_core_init(const struct xive_ops *ops, void __iomem *area, u32 offset,
|
||||
u8 max_prio)
|
||||
bool __init xive_core_init(const struct xive_ops *ops, void __iomem *area, u32 offset,
|
||||
u8 max_prio)
|
||||
{
|
||||
xive_tima = area;
|
||||
xive_tima_offset = offset;
|
||||
|
Reference in New Issue
Block a user