Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44321
b: refs/heads/master
c: b652c23
h: refs/heads/master
i:
  44319: 4cf10ad
v: v3
  • Loading branch information
Paul Mundt committed Dec 11, 2006
1 parent 827e367 commit 74323bf
Show file tree
Hide file tree
Showing 2 changed files with 4 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: dc34d312c7b25d5d0f54c16d143a9526936e5d38
refs/heads/master: b652c23cb0f7808bedb5442c416d91705a465c67
5 changes: 3 additions & 2 deletions trunk/arch/sh/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,10 @@ unsigned long get_wchan(struct task_struct *p)
*/
pc = thread_saved_pc(p);
if (in_sched_functions(pc)) {
schedule_frame = ((unsigned long *)(long)p->thread.sp)[1];
return (unsigned long)((unsigned long *)schedule_frame)[1];
schedule_frame = (unsigned long)p->thread.sp;
return ((unsigned long *)schedule_frame)[21];
}

return pc;
}

Expand Down

0 comments on commit 74323bf

Please sign in to comment.