Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187720
b: refs/heads/master
c: 51d4799
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Russell King committed Mar 7, 2010
1 parent ec51d69 commit 026bda9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d40ddd10dab332456e3863fed2a6e71aa6635ab
refs/heads/master: 51d47999b9452a8dc7ae58a11423c5db28f21ae1
4 changes: 3 additions & 1 deletion trunk/arch/arm/kernel/unwind.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ void unwind_backtrace(struct pt_regs *regs, struct task_struct *tsk)
frame.fp = regs->ARM_fp;
frame.sp = regs->ARM_sp;
frame.lr = regs->ARM_lr;
frame.pc = regs->ARM_pc;
/* PC might be corrupted, use LR in that case. */
frame.pc = kernel_text_address(regs->ARM_pc)
? regs->ARM_pc : regs->ARM_lr;
} else if (tsk == current) {
frame.fp = (unsigned long)__builtin_frame_address(0);
frame.sp = current_sp;
Expand Down

0 comments on commit 026bda9

Please sign in to comment.