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/include | |
parent | e7e302f2559ec2c8878e5b5205755900215196b3 (diff) | |
download | rockbox-81ffd9bfeee6aca65f507a46c8123b47ca6e2803.tar.gz rockbox-81ffd9bfeee6aca65f507a46c8123b47ca6e2803.zip |
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/include')
-rw-r--r-- | firmware/kernel/include/thread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/kernel/include/thread.h b/firmware/kernel/include/thread.h index f181f867cb..e10b4e21b4 100644 --- a/firmware/kernel/include/thread.h +++ b/firmware/kernel/include/thread.h | |||
@@ -360,8 +360,7 @@ void block_thread(struct thread_entry *current, int timeout); | |||
360 | higher priority than current were woken) */ | 360 | higher priority than current were woken) */ |
361 | 361 | ||
362 | /* A convenience function for waking an entire queue of threads. */ | 362 | /* A convenience function for waking an entire queue of threads. */ |
363 | unsigned int thread_queue_wake(struct thread_entry **list, | 363 | unsigned int thread_queue_wake(struct thread_entry **list); |
364 | volatile int *count); | ||
365 | 364 | ||
366 | /* Wakeup a thread at the head of a list */ | 365 | /* Wakeup a thread at the head of a list */ |
367 | enum wakeup_thread_protocol | 366 | enum wakeup_thread_protocol |