From c6d920309c8898f98c9ef2f087948d86604c402a Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 5 Jun 2018 15:46:16 +0000 Subject: [PATCH] Implement the INIT_DELAYED_WORK_ONSTACK() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks --- sys/compat/linuxkpi/common/include/linux/workqueue.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/workqueue.h b/sys/compat/linuxkpi/common/include/linux/workqueue.h index 4e19476f875d..89d5e6ea53a0 100644 --- a/sys/compat/linuxkpi/common/include/linux/workqueue.h +++ b/sys/compat/linuxkpi/common/include/linux/workqueue.h @@ -117,6 +117,9 @@ do { \ #define INIT_DELAYED_WORK(dwork, fn) \ linux_init_delayed_work(dwork, fn) +#define INIT_DELAYED_WORK_ONSTACK(dwork, fn) \ + linux_init_delayed_work(dwork, fn) + #define INIT_DEFERRABLE_WORK(dwork, fn) \ INIT_DELAYED_WORK(dwork, fn)