]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitfd34ef9bc44b87d746b7178e9c4ba51163b46884
treedd1f66b00d580be648134e666055a2d5e609f583
parent10c5e4e137dc97e54cabd62a6109988ff8670faa
sh: kgdb: Fix up NULL pointer deref by kgdb_nmicallback.

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>
arch/sh/kernel/kgdb.c