OSDN Git Service

powerpc: Add missing prototype for sys_debug_setcontext()
authorMathieu Malaterre <malat@debian.org>
Sun, 25 Feb 2018 17:22:32 +0000 (18:22 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:38 +0000 (15:50 +1100)
commit0d60619e1c0ca20eb26103610349923451827688
tree0853e37989ab65c9dc179a5ce6df6a0efe411058
parent23a6d8b9634897add6ebff32372f34348387b1ee
powerpc: Add missing prototype for sys_debug_setcontext()

In commit 81e7009ea46c ("powerpc: merge ppc signal.c and ppc64
signal32.c") the function sys_debug_setcontext was added without a
prototype.

Fix compilation warning (treated as error in W=1):
  arch/powerpc/kernel/signal_32.c:1227:5: error: no previous prototype for â€˜sys_debug_setcontext’

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h