From 81ffd9bfeee6aca65f507a46c8123b47ca6e2803 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 6 Aug 2014 02:10:14 -0400 Subject: 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 --- firmware/kernel/include/thread.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/kernel/include/thread.h') 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); higher priority than current were woken) */ /* A convenience function for waking an entire queue of threads. */ -unsigned int thread_queue_wake(struct thread_entry **list, - volatile int *count); +unsigned int thread_queue_wake(struct thread_entry **list); /* Wakeup a thread at the head of a list */ enum wakeup_thread_protocol -- cgit v1.2.3