Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1eda9a5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wait: add wake_up_sync()"

parents 8c5c8420 7e075c9b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode, int nr);
#define wake_up_interruptible_nr(x, nr)	__wake_up(x, TASK_INTERRUPTIBLE, nr, NULL)
#define wake_up_interruptible_all(x)	__wake_up(x, TASK_INTERRUPTIBLE, 0, NULL)
#define wake_up_interruptible_sync(x)	__wake_up_sync((x), TASK_INTERRUPTIBLE, 1)
#define wake_up_sync(x)			__wake_up_sync(x, TASK_NORMAL, 1)

/*
 * Wakeup macros to be used to report events to the targets.