mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
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:
parent
7559952e1f
commit
df4c798318
|
@ -1399,8 +1399,8 @@ void xive_shutdown(void)
|
||||||
xive_ops->shutdown();
|
xive_ops->shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool xive_core_init(const struct xive_ops *ops, void __iomem *area, u32 offset,
|
bool __init xive_core_init(const struct xive_ops *ops, void __iomem *area, u32 offset,
|
||||||
u8 max_prio)
|
u8 max_prio)
|
||||||
{
|
{
|
||||||
xive_tima = area;
|
xive_tima = area;
|
||||||
xive_tima_offset = offset;
|
xive_tima_offset = offset;
|
||||||
|
|
|
@ -531,7 +531,7 @@ u32 xive_native_default_eq_shift(void)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xive_native_default_eq_shift);
|
EXPORT_SYMBOL_GPL(xive_native_default_eq_shift);
|
||||||
|
|
||||||
bool xive_native_init(void)
|
bool __init xive_native_init(void)
|
||||||
{
|
{
|
||||||
struct device_node *np;
|
struct device_node *np;
|
||||||
struct resource r;
|
struct resource r;
|
||||||
|
|
Loading…
Reference in a new issue