projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e82dc
)
powerpc: Fix support for latencytop
author
Arnd Bergmann
<arnd@arndb.de>
Wed, 16 Jul 2008 22:12:25 +0000
(08:12 +1000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:33 +0000
(10:39 +1000)
We need to pass the kernel stack pointer instead of the user space
stack pointer in save_stack_trace_tsk().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/stacktrace.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/stacktrace.c
b/arch/powerpc/kernel/stacktrace.c
index 071bee3ec7493781ccba25a4050aa80f4898fc94..f2589645870afe4d3aa009936c21f8d2e1fa7f22 100644
(file)
--- a/
arch/powerpc/kernel/stacktrace.c
+++ b/
arch/powerpc/kernel/stacktrace.c
@@
-59,6
+59,6
@@
EXPORT_SYMBOL_GPL(save_stack_trace);
void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
{
- save_context_stack(trace, tsk->thread.
regs->gpr[1]
, tsk, 0);
+ save_context_stack(trace, tsk->thread.
ksp
, tsk, 0);
}
EXPORT_SYMBOL_GPL(save_stack_trace_tsk);