eventfd: Change mode_semaphore from uint8_t to bool
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
54e1c27e43
commit
0896d0680b
@ -69,7 +69,7 @@ struct eventfd_priv_s
|
||||
eventfd_t counter; /* eventfd counter */
|
||||
unsigned int minor; /* eventfd minor number */
|
||||
uint8_t crefs; /* References counts on eventfd (max: 255) */
|
||||
uint8_t mode_semaphore; /* eventfd mode (semaphore or counter) */
|
||||
bool mode_semaphore; /* eventfd mode (semaphore or counter) */
|
||||
|
||||
/* The following is a list if poll structures of threads waiting for
|
||||
* driver events.
|
||||
|
Loading…
x
Reference in New Issue
Block a user