Revert "workqueue: remove unused cancel_work()"
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 19 May 2022 13:47:28 +0000 (09:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jun 2022 19:24:38 +0000 (15:24 -0400)
commit73b4b53276a1d6290cd4f47dbbc885b6e6e59ac6
tree23edcf964467c716e757febdab0e0e45614ce6e5
parent4c59b571fce6cedefc1c8e5158f7548f05c05ed6
Revert "workqueue: remove unused cancel_work()"

This reverts commit 6417250d3f894e66a68ba1cd93676143f2376a6f.

amdpgu need this function in order to prematurly stop pending
reset works when another reset work already in progress.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Lai Jiangshan<jiangshanlai@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/linux/workqueue.h
kernel/workqueue.c