diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2014-08-06 02:10:14 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-08-06 02:27:49 -0400 |
commit | 81ffd9bfeee6aca65f507a46c8123b47ca6e2803 (patch) | |
tree | e9eb535dbc71f35bce7519d7a6a063e4a683ba55 /firmware/kernel/queue.c | |
parent | e7e302f2559ec2c8878e5b5205755900215196b3 (diff) |
Fix some stuff for no priority and
thread_queue_wake() doesn't need the 2nd parameter. The original purpose
for it never came to be.
Non priority version mrsw_writer_wakeup_readers was left improperly
finished. Get that back into line.
Change-Id: Ic613a2479f3cc14dc7c761517670eb15178da9f5
Diffstat (limited to 'firmware/kernel/queue.c')
-rw-r--r-- | firmware/kernel/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/kernel/queue.c b/firmware/kernel/queue.c index 22a8da9bd3..c8beb908b6 100644 --- a/firmware/kernel/queue.c +++ b/firmware/kernel/queue.c @@ -267,7 +267,7 @@ void queue_delete(struct event_queue *q) corelock_unlock(&all_queues.cl); /* Release thread(s) waiting on queue head */ - thread_queue_wake(&q->queue, NULL); + thread_queue_wake(&q->queue); #ifdef HAVE_EXTENDED_MESSAGING_AND_NAME if(q->send) |