mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
wait: Add wake_up_sync()
The synchronous wakeup interface is available only for the interruptible wakeup. Add it for normal wakeup. Change-Id: Ia4460aa55690d14d203cdc843bd600c9e26c53f1 Suggested-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Pradeep P V K <pragalla@codeaurora.org> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
13bcff056f
commit
527f4d9cc8
@ -205,6 +205,7 @@ void __wake_up_pollfree(struct wait_queue_head *wq_head);
|
||||
#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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user