public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e131374
)
process: fix warnings
author
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 20:07:12 +0000
(20:07 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 20:07:12 +0000
(20:07 +0000)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
8bbb92a
..
2f62c75
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-21,7
+21,7
@@
static void do_psleep(void *event, uint8_t state)
{
-
irqflags_t irq =
di();
+ di();
#ifdef DEBUG_SLEEP
kprintf("psleep(0x%p)", event);
#endif
@@
-629,7
+629,7
@@
static uint8_t chksigset(struct sigbits *sb, uint8_t b)
to fix */
if (b && (m & stopper)) {
/* Don't allow us to race SIGCONT */
-
irqflags_t irq =
di();
+ di();
/* FIXME: can we ever end up here not in READY/RUNNING ? */
/* Yes: we could be in P_SLEEP on a close race
with do_psleep() */