powerpc/xive: Fix section __init warning
PATCH 1/1 powerpc/xive: Fix section __init warning
xive_spapr_init() is called from a __init routine and calls __init routines.
Signed-off-by Cédric Le Goater <[email protected]>
--- arch/powerpc/sysdev/xive/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/sysdev/xive/spapr.c +1 -1
@@ -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;
Signature · 1 line
2.13.5
Michael Ellerman
AppliedQuoted 4 lines · On Mon, 2017-09-04 at 06:37:55 UTC, =?utf-8?q?C=C3=A9dric_Le_Goater?= wrote:
xive_spapr_init()is called from a__initroutine and calls__initroutines.Signed-off-by Cédric Le Goater <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/265601f034df3566f22da11240977a
cheers