]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xive: Properly use static keyword for inline function
authorMathieu Malaterre <malat@debian.org>
Tue, 26 Dec 2017 13:00:17 +0000 (14:00 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 12:37:43 +0000 (23:37 +1100)
commit0b0d284d6d2f5afdfc82e358046659a7e0673a82
treecf50158c3aaea609c59b0287fd38e8746cce56e0
parent7e82bca2f3c6efc9ffc92c6197a17721e70f6a87
powerpc/xive: Properly use static keyword for inline function

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@debian.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/xive.h