]> err.no Git - linux-2.6/commitdiff
[MIPS] save_context_stack fix
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 16 Oct 2006 13:48:49 +0000 (22:48 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Oct 2006 16:55:13 +0000 (17:55 +0100)
CONFIG_KALLSYMS=n case is obviously wrong, though it is harmless since
CONFIG_KALLSYMS is always enabled with CONFIG_STACKTRACE for now.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/stacktrace.c

index 4aabe526a68e3e38b9eb4a59670168d695255b15..a586aba337a7afcbd0f93f50c36c59167face762 100644 (file)
@@ -57,7 +57,7 @@ static void save_context_stack(struct stack_trace *trace,
                pc = unwind_stack(task, &sp, pc, &ra);
        } while (pc);
 #else
-       save_raw_context_stack(sp);
+       save_raw_context_stack(trace, sp);
 #endif
 }