]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wait: add wait_event_cmd()
authorShaohua Li <shli@kernel.org>
Mon, 12 Aug 2013 02:24:36 +0000 (10:24 +0800)
committerNeilBrown <neilb@suse.de>
Thu, 24 Oct 2013 02:39:58 +0000 (13:39 +1100)
commit5c276c0ed3520459bcfe79b264ddf6cc36e805e3
tree01d5315eb384dee7cce1cfde172e6c2af7aaf2e9
parentd9208eac801f23ed50c23baee002cbcf42ce063a
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.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
include/linux/wait.h