summaryrefslogtreecommitdiffstats
path: root/firmware/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/kernel.c')
-rw-r--r--firmware/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index e0879a3c59..4fcfcb9d30 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -537,7 +537,7 @@ void queue_wait(struct event_queue *q, struct queue_event *ev)
corelock_unlock(&q->cl);
switch_thread();
- oldlevel = disable_irq_save();
+ disable_irq();
corelock_lock(&q->cl);
}
@@ -583,7 +583,7 @@ void queue_wait_w_tmo(struct event_queue *q, struct queue_event *ev, int ticks)
switch_thread();
- oldlevel = disable_irq_save();
+ disable_irq();
corelock_lock(&q->cl);
rd = q->read;