Files
linux/arch/powerpc/kernel
Cédric Le Goater 9ae440fb3d powerpc/watchdog: Declare soft_nmi_interrupt() prototype
soft_nmi_interrupt() usage requires PPC_WATCHDOG to be configured.
Check the CONFIG definition to declare the prototype.

It fixes this W=1 compile error :

../arch/powerpc/kernel/watchdog.c:250:6: error: no previous prototype for ‘soft_nmi_interrupt’ [-Werror=missing-prototypes]
  250 | void soft_nmi_interrupt(struct pt_regs *regs)
      |      ^~~~~~~~~~~~~~~~~~

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210104143206.695198-18-clg@kaod.org
2021-01-30 11:39:30 +11:00
..
2020-12-09 23:48:14 +11:00
2020-12-09 23:48:14 +11:00
2020-12-04 01:01:09 +11:00
2021-01-30 11:39:29 +11:00
2020-10-08 21:17:12 +11:00
2020-07-27 00:01:30 +10:00
2020-12-05 21:49:52 +11:00
2020-12-05 21:49:52 +11:00
2020-11-18 14:18:09 -06:00
2020-12-04 01:01:19 +11:00