Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312131
b: refs/heads/master
c: e909be8
h: refs/heads/master
i:
  312129: 18444c4
  312127: f93ed4b
v: v3
  • Loading branch information
Vincent Wen authored and Ralf Baechle committed Jul 19, 2012
1 parent 0de3017 commit c7e4118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca760ca5238c55cd0e29291c63e35ac6634d385f
refs/heads/master: e909be825212da62433e805f03586015a04f3c78
3 changes: 3 additions & 0 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ static void show_backtrace(struct task_struct *task, const struct pt_regs *regs)
unsigned long ra = regs->regs[31];
unsigned long pc = regs->cp0_epc;

if (!task)
task = current;

if (raw_show_trace || !__kernel_text_address(pc)) {
show_raw_backtrace(sp);
return;
Expand Down

0 comments on commit c7e4118

Please sign in to comment.