git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched: Introduce task_is_running()
[sfrench/cifs-2.6.git]
/
arch
/
h8300
/
kernel
/
process.c
diff --git
a/arch/h8300/kernel/process.c
b/arch/h8300/kernel/process.c
index 46b1342ce515b3a33b63a9559786fbe55f2770ce..2ac27e4248a4623468d1171b930f5764b1cea80e 100644
(file)
--- a/
arch/h8300/kernel/process.c
+++ b/
arch/h8300/kernel/process.c
@@
-134,7
+134,7
@@
unsigned long get_wchan(struct task_struct *p)
unsigned long stack_page;
int count = 0;
- if (!p || p == current ||
p->state == TASK_RUNNING
)
+ if (!p || p == current ||
task_is_running(p)
)
return 0;
stack_page = (unsigned long)p;