[PATCH] x86_64: Fix dump_trace()
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Wed, 3 Jan 2007 16:21:28 +0000 (01:21 +0900)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 3 Jan 2007 16:49:59 +0000 (08:49 -0800)
commit7523c4dd9923cab748dad9b79d0165e118e3d03b
tree9bb07e14b5a052af1b73e3d4bb318e9060fd2182
parentb06b5a53adcc3ace1a82b324edf2b0c37e7be00e
[PATCH] x86_64: Fix dump_trace()

If caller passed the tsk, we should use it to validate a stack ptr.
Otherwise, sysrq-t and other debugging stuff doesn't work.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c