diff options
| author | Cédric Le Goater <[email protected]> | 2021-01-04 15:32:00 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-30 11:39:30 +1100 |
| commit | 9ae440fb3d7d1c91ada7d6b13e009bd9f4f00e6c (patch) | |
| tree | 5fc3cd19fc7dade6b85b895e0f80fad85d2774b0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1429ff51480fe5a21a3d17158d259a4b4b04808f (diff) | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions