Skip to content
Commit 3ba45b7e authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent d8fa82e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment