diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-09-04 08:37:55 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-04 11:38:07 +0200 |
commit | 265601f034df3566f22da11240977aab8860f6a7 (patch) | |
tree | 531ca1d45caaad3cca192506a202a69d680e0842 /arch | |
parent | powerpc: Fix kernel crash in emulation of vector loads and stores (diff) | |
download | linux-265601f034df3566f22da11240977aab8860f6a7.tar.xz linux-265601f034df3566f22da11240977aab8860f6a7.zip |
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 <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/xive/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c index 43e9eeb0d39f..f24a70bc6855 100644 --- a/arch/powerpc/sysdev/xive/spapr.c +++ b/arch/powerpc/sysdev/xive/spapr.c @@ -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; |