]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Declare stack_overflow_exception() prototype
authorCédric Le Goater <clg@kaod.org>
Mon, 14 Sep 2020 21:10:07 +0000 (23:10 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Sep 2020 10:05:25 +0000 (20:05 +1000)
commit7c28f642e488e3c92195fd85aa9a12dce0b04b23
tree9b960039736b4cfe7f88c4955081d9effafa956f
parent3c6694587c0a38ad5dd3d010ad25fa0306bc9b08
powerpc/32: Declare stack_overflow_exception() prototype

This fixes a compile error with W=1.

CC      arch/powerpc/kernel/traps.o
../arch/powerpc/kernel/traps.c:1663:6: error: no previous prototype for ‘stack_overflow_exception’ [-Werror=missing-prototypes]
 void stack_overflow_exception(struct pt_regs *regs)
      ^~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 6d138130cd6b ("powerpc/32: Add early stack overflow detection with VMAP stack.")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914211007.2285999-8-clg@kaod.org
arch/powerpc/include/asm/asm-prototypes.h