diff --git a/[refs] b/[refs] index aa2ced862ac1..f9faae99ce81 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 376e210b71d7736775f43f32c5c7712f90aaf59a +refs/heads/master: cc650a7a9f5ebc3f9290a8e20e3f55b4f52f849e diff --git a/trunk/arch/parisc/kernel/process.c b/trunk/arch/parisc/kernel/process.c index 0dd3847f494c..355664812b83 100644 --- a/trunk/arch/parisc/kernel/process.c +++ b/trunk/arch/parisc/kernel/process.c @@ -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.. */