OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06b5a5
)
[PATCH] x86_64: Fix dump_trace()
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Wed, 3 Jan 2007 16:21:28 +0000
(
01:21
+0900)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Wed, 3 Jan 2007 16:49:59 +0000
(08:49 -0800)
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
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/traps.c
b/arch/x86_64/kernel/traps.c
index
1d9eb6d
..
09d2e8a
100644
(file)
--- a/
arch/x86_64/kernel/traps.c
+++ b/
arch/x86_64/kernel/traps.c
@@
-319,7
+319,7
@@
void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
/*
* This handles the process stack:
*/
- tinfo =
current_thread_info(
);
+ tinfo =
task_thread_info(tsk
);
HANDLE_STACK (valid_stack_ptr(tinfo, stack));
#undef HANDLE_STACK
put_cpu();