powerpc/watchdog: regs can't be null in soft_nmi_interrupt()
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 12 Oct 2017 04:44:33 +0000 (15:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 28 Jan 2018 06:08:28 +0000 (17:08 +1100)
commit3ba45b7e46e2ae7c059f3335120aed5e2c749bd9
treecdc8dd2bd3b3b0ed509df8eb0b99e180c516d499
parentd8fa82e0e2b1ad9c66aa76810615ad389b414d44
powerpc/watchdog: regs can't be null in soft_nmi_interrupt()

soft_nmi_interrupt() is called directly from the asm exception
handling code, which passes regs as a pointer to the stack. So regs
can't be NULL, it may be full of junk, but that's a separate problem.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/watchdog.c