Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36049
b: refs/heads/master
c: 1fd6909
h: refs/heads/master
i:
  36047: e1410dc
v: v3
  • Loading branch information
Franck Bui-Huu authored and Ralf Baechle committed Sep 27, 2006
1 parent e5621a0 commit e37fe15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: f83b854a1d2d28bc1ed86fec8a80940b59f8d932
refs/heads/master: 1fd6909802b837ed5510603846c0ce5938d296a1
7 changes: 5 additions & 2 deletions trunk/arch/mips/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,11 @@ unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,

if (!kallsyms_lookup(pc, &size, &ofs, &modname, namebuf))
return 0;
if (ofs == 0)
return 0;
/*
* Return ra if an exception occured at the first instruction
*/
if (unlikely(ofs == 0))
return ra;

info.func = (void *)(pc - ofs);
info.func_size = ofs; /* analyze from start to ofs */
Expand Down

0 comments on commit e37fe15

Please sign in to comment.