aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/workqueue.h
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2023-12-24 08:19:59 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2023-12-24 08:19:59 +0000
commit1b2f43a7427ebf51561867f6c497833268014512 (patch)
tree5d4de6ce924f2f179e1a145edf771a7c4cdc5a35 /sys/compat/linuxkpi/common/include/linux/workqueue.h
parent64e30cba3f0432fa684728b67850b6254d3713ea (diff)
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/workqueue.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/workqueue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/workqueue.h b/sys/compat/linuxkpi/common/include/linux/workqueue.h
index 226c2d1f4f0c..1c9df9fcb74d 100644
--- a/sys/compat/linuxkpi/common/include/linux/workqueue.h
+++ b/sys/compat/linuxkpi/common/include/linux/workqueue.h
@@ -188,6 +188,9 @@ do { \
#define delayed_work_pending(dwork) \
linux_work_pending(&(dwork)->work)
+#define cancel_work(work) \
+ linux_cancel_work(work)
+
#define cancel_delayed_work(dwork) \
linux_cancel_delayed_work(dwork)
@@ -243,6 +246,7 @@ extern void linux_destroy_workqueue(struct workqueue_struct *);
extern bool linux_queue_work_on(int cpu, struct workqueue_struct *, struct work_struct *);
extern bool linux_queue_delayed_work_on(int cpu, struct workqueue_struct *,
struct delayed_work *, unsigned delay);
+extern bool linux_cancel_work(struct work_struct *);
extern bool linux_cancel_delayed_work(struct delayed_work *);
extern bool linux_cancel_work_sync(struct work_struct *);
extern bool linux_cancel_delayed_work_sync(struct delayed_work *);