diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-08-06 10:48:20 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-08-06 10:48:20 +0000 |
| commit | 549dcdb34e38f475111de691361dc7e15c75061f (patch) | |
| tree | b2fa6721e79d3725f710960095254d1794adb4a4 /sys/compat/linuxkpi/common/include/linux/workqueue.h | |
| parent | 936b2b64ae413c203b397023d4844f8f657c452a (diff) | |
Notes
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/workqueue.h')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/workqueue.h | 4 |
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 9746c1720b2a..8a9fbace3a07 100644 --- a/sys/compat/linuxkpi/common/include/linux/workqueue.h +++ b/sys/compat/linuxkpi/common/include/linux/workqueue.h @@ -209,6 +209,9 @@ do { \ #define destroy_workqueue(wq) \ linux_destroy_workqueue(wq) +#define current_work() \ + linux_current_work() + /* prototypes */ extern struct workqueue_struct *system_wq; @@ -232,5 +235,6 @@ extern bool linux_flush_work(struct work_struct *); extern bool linux_flush_delayed_work(struct delayed_work *); extern bool linux_work_pending(struct work_struct *); extern bool linux_work_busy(struct work_struct *); +extern struct work_struct *linux_current_work(void); #endif /* _LINUX_WORKQUEUE_H_ */ |
