powerpc/xive: Properly use static keyword for inline function
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jan 22 14:34:20 AEDT 2018
On Tue, 2017-12-26 at 13:00:17 UTC, Mathieu Malaterre wrote:
> Fix fatal warning during compilation:
>
> In file included from arch/powerpc/xmon/xmon.c:54:0:
> ./arch/powerpc/include/asm/xive.h:157:20: error: no previous prototype for ‘xive_smp_prepare_cpu’ [-Werror=missing-prototypes]
> extern inline int xive_smp_prepare_cpu(unsigned int cpu) { return -EINVAL; }
> ^
>
> Signed-off-by: Mathieu Malaterre <malat at debian.org>
> Reviewed-by: Cédric Le Goater <clg at kaod.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/38833faa112c10dd6e3d888f8b53de
cheers
More information about the Linuxppc-dev
mailing list