提交 f2863032 编写于 作者: H Helge Deller

parisc: Drop out of get_whan() if task is running again

Signed-off-by: NHelge Deller <deller@gmx.de>
上级 92bf2261
......@@ -260,6 +260,8 @@ get_wchan(struct task_struct *p)
do {
if (unwind_once(&info) < 0)
return 0;
if (p->state == TASK_RUNNING)
return 0;
ip = info.ip;
if (!in_sched_functions(ip))
return ip;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册