powerpc: Introduce asm-prototypes.h
authorDaniel Axtens <dja@axtens.net>
Wed, 18 May 2016 01:16:50 +0000 (11:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jun 2016 12:39:54 +0000 (22:39 +1000)
commit42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d
tree1df0e78c7e5ea6c1e91898f854bfa9418d0147a2
parent34852ed5511ec5d07897f22d5607061a248fc82f
powerpc: Introduce asm-prototypes.h

Sparse picked up a number of functions that are implemented in C and
then only referred to in asm code.

This introduces asm-prototypes.h, which provides a place for
prototypes of these functions.

This silences some sparse warnings.

Signed-off-by: Daniel Axtens <dja@axtens.net>
[mpe: Add include guards, clean up copyright & GPL text]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h [new file with mode: 0644]
arch/powerpc/kernel/machine_kexec_64.c
arch/powerpc/kernel/smp.c
arch/powerpc/kernel/traps.c
arch/powerpc/lib/vmx-helper.c
arch/powerpc/platforms/powernv/opal-tracepoints.c
arch/powerpc/platforms/pseries/lpar.c