summaryrefslogtreecommitdiffstats
path: root/include/sound/asequencer.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-11-21 12:32:26 -0800
committerTejun Heo <tj@kernel.org>2011-11-21 12:32:26 -0800
commitec012476af73a1a8a82565a915e9b48c2e337878 (patch)
tree886be6fbd202f0ab45a74fb2bce384ebc904996b /include/sound/asequencer.h
parent839e3407d90a810318d17c17ceb3d5928a910704 (diff)
downloadblackbird-op-linux-ec012476af73a1a8a82565a915e9b48c2e337878.tar.gz
blackbird-op-linux-ec012476af73a1a8a82565a915e9b48c2e337878.zip
usb_storage: don't use set_freezable_with_signal()
The current implementation of set_freezable_with_signal() is buggy and tricky to get right. usb-storage is the only user and its use can be avoided trivially. All usb-storage wants is to be able to sleep with timeout and get woken up if freezing() becomes true. This can be trivially implemented by doing interruptible wait w/ freezing() included in the wait condition. There's no reason to use set_freezable_with_signal(). Perform interruptible wait on freezing() instead of using set_freezable_with_signal(), which is scheduled for removal. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Seth Forshee <seth.forshee@canonical.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/sound/asequencer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud