mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
workqueue: deprecate __cancel_delayed_work()
Now that cancel_delayed_work() can be safely called from IRQ handlers, there's no reason to use __cancel_delayed_work(). Use cancel_delayed_work() instead of __cancel_delayed_work() and mark the latter deprecated. Signed-off-by: Tejun Heo <[email protected]> Acked-by: Jens Axboe <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Roland Dreier <[email protected]> Cc: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
57b30ae77b
commit
136b5721d7
5 changed files with 5 additions and 5 deletions
|
|
@ -262,7 +262,7 @@ EXPORT_SYMBOL(blk_start_queue);
|
|||
**/
|
||||
void blk_stop_queue(struct request_queue *q)
|
||||
{
|
||||
__cancel_delayed_work(&q->delay_work);
|
||||
cancel_delayed_work(&q->delay_work);
|
||||
queue_flag_set(QUEUE_FLAG_STOPPED, q);
|
||||
}
|
||||
EXPORT_SYMBOL(blk_stop_queue);
|
||||
|
|
|
|||
Loading…
Reference in a new issue