summaryrefslogtreecommitdiff
path: root/firmware/kernel/include/mrsw_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/kernel/include/mrsw_lock.h')
-rw-r--r--firmware/kernel/include/mrsw_lock.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/kernel/include/mrsw_lock.h b/firmware/kernel/include/mrsw_lock.h
index d919f7be26..7511f87e93 100644
--- a/firmware/kernel/include/mrsw_lock.h
+++ b/firmware/kernel/include/mrsw_lock.h
@@ -39,10 +39,9 @@
39 */ 39 */
40struct mrsw_lock 40struct mrsw_lock
41{ 41{
42 int volatile count; /* rd/wr counter; >0 = reader(s), <0 = writer */ 42 int volatile count; /* counter; >0 = reader(s), <0 = writer */
43 struct thread_entry *queue; 43 struct __wait_queue queue; /* waiter list */
44 struct blocker_splay splay; /* priority inheritance info 44 struct blocker_splay splay; /* priority inheritance/owner info */
45 for waiters */
46 uint8_t rdrecursion[MAXTHREADS]; /* per-thread reader recursion counts */ 45 uint8_t rdrecursion[MAXTHREADS]; /* per-thread reader recursion counts */
47 IF_COP( struct corelock cl; ) 46 IF_COP( struct corelock cl; )
48}; 47};