sh: kgdb: Fix up NULL pointer deref by kgdb_nmicallback.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 10 Apr 2012 05:22:39 +0000 (14:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 10 Apr 2012 05:22:39 +0000 (14:22 +0900)
kgdb_nmicallback expects valid register state, so just fetch the register
state with get_irq_regs() as on other platforms.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found