Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57761
b: refs/heads/master
c: cc650a7
h: refs/heads/master
i:
  57759: 327de45
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed May 30, 2007
1 parent 8629b26 commit f914787
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 376e210b71d7736775f43f32c5c7712f90aaf59a
refs/heads/master: cc650a7a9f5ebc3f9290a8e20e3f55b4f52f849e
4 changes: 4 additions & 0 deletions trunk/arch/parisc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ get_wchan(struct task_struct *p)
struct unwind_frame_info info;
unsigned long ip;
int count = 0;

if (!p || p == current || p->state == TASK_RUNNING)
return 0;

/*
* These bracket the sleeping functions..
*/
Expand Down

0 comments on commit f914787

Please sign in to comment.