Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:41:12 UTC 2021
Modified Files:
src/sys/external/bsd/common/include/linux: workqueue.h
Log Message:
Stubs for init/destroy delayed work on stack.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 \
src/sys/external/bsd/common/include/linux/workqueue.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/common/include/linux/workqueue.h
diff -u src/sys/external/bsd/common/include/linux/workqueue.h:1.19 src/sys/external/bsd/common/include/linux/workqueue.h:1.20
--- src/sys/external/bsd/common/include/linux/workqueue.h:1.19 Sun Dec 19 01:24:13 2021
+++ src/sys/external/bsd/common/include/linux/workqueue.h Sun Dec 19 01:41:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: workqueue.h,v 1.19 2021/12/19 01:24:13 riastradh Exp $ */
+/* $NetBSD: workqueue.h,v 1.20 2021/12/19 01:41:12 riastradh Exp $ */
/*-
* Copyright (c) 2013, 2018 The NetBSD Foundation, Inc.
@@ -133,6 +133,8 @@ struct work_struct *
current_work(void);
#define INIT_WORK_ONSTACK INIT_WORK
+#define INIT_DELAYED_WORK_ONSTACK INIT_DELAYED_WORK
+#define destroy_delayed_work_on_stack(dw) __nothing
static inline void
destroy_work_on_stack(struct work_struct *work)