public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb938b
)
Kernel: wakeup() now uses pwake() function
author
Will Sowerbutts
<will@sowerbutts.com>
Fri, 20 Feb 2015 21:20:36 +0000
(21:20 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Fri, 20 Feb 2015 21:35:58 +0000
(21:35 +0000)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
d7d322a
..
493c348
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-67,9
+67,7
@@
void wakeup(void *event)
kprintf("wakeup: found proc 0x%x pid %d\n",
p, p->p_pid);
#endif
- p->p_status = P_READY;
- p->p_wait = NULL;
- nready++;
+ pwake(p);
}
}
irqrestore(irq);