Shaohua Li 82e06c8111 wait: add wait_event_cmd()
Add a new API wait_event_cmd(). It's a variant of wait_even() with two
commands executed. One is executed before sleep, another after sleep.

Modified to match use wait.h approach based on suggestion by
Peter Zijlstra <peterz@infradead.org> - neilb

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2013-11-14 15:16:16 +11:00
..
2013-10-09 12:36:13 +02:00
2013-09-06 13:21:16 -07:00
2013-11-14 15:16:16 +11:00
2013-09-04 17:45:39 -07:00