summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@windriver.com>2012-08-22 18:10:20 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-08-24 12:26:06 +0200
commit5f630401f9e98bd062733b5bbef096dbf2158066 (patch)
tree4d4d1d6fe382982119028473a14f9021d931684b /arch/powerpc/include/asm
parentpowerpc/kgdb: Bail out of KGDB when we've been triggered (diff)
downloadlinux-5f630401f9e98bd062733b5bbef096dbf2158066.tar.xz
linux-5f630401f9e98bd062733b5bbef096dbf2158066.zip
powerpc/kgdb: Restore current_thread_info properly
For powerpc BooKE and e200, singlestep is handled on the critical/dbg exception stack. This causes current_thread_info() to fail for kgdb internal, so previously We work around this issue by copying the thread_info from the kernel stack before calling kgdb_handle_exception, and copying it back afterwards. But actually we don't do this properly. We should backup current_thread_info then restore that when exit. Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions