projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92bf226
)
parisc: Drop out of get_whan() if task is running again
author
Helge Deller
<deller@gmx.de>
Thu, 17 Dec 2020 16:57:54 +0000
(17:57 +0100)
committer
Helge Deller
<deller@gmx.de>
Fri, 12 Feb 2021 15:30:07 +0000
(16:30 +0100)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/process.c
b/arch/parisc/kernel/process.c
index a92a23d6acd931c2fb047a898b3c6eef9d488e20..fda1c1a6a444dd00bb10711950148a2d16a7299a 100644
(file)
--- a/
arch/parisc/kernel/process.c
+++ b/
arch/parisc/kernel/process.c
@@
-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;