mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 13:11:27 +00:00
into a new macro called wait_event_locked(). Signed-off-by: Bart Van Assche <bvanassche@acm.org> + Micro-optimize wait_event_locked(). Switch from default_wake_function() to autoremove_wake_function() (via DEFINE_WAIT()). The result is that wait_queue_head_t.lock is locked once instead of twice for wakeup + wait queue removal. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3591 d57e44dd-8a1f-0410-8b47-8ef2f437770f