Module Name: src
Committed By: riastradh
Date: Mon Aug 27 06:54:40 UTC 2018
Modified Files:
src/sys/external/bsd/common/include/linux: workqueue.h
Log Message:
Define dummy INIT_WORK_ONSTACK and destroy_work_onstack.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
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.1 src/sys/external/bsd/common/include/linux/workqueue.h:1.2
--- src/sys/external/bsd/common/include/linux/workqueue.h:1.1 Wed Feb 24 22:04:15 2016
+++ src/sys/external/bsd/common/include/linux/workqueue.h Mon Aug 27 06:54:40 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: workqueue.h,v 1.1 2016/02/24 22:04:15 skrll Exp $ */
+/* $NetBSD: workqueue.h,v 1.2 2018/08/27 06:54:40 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -117,4 +117,11 @@ bool mod_delayed_work(struct workqueue_s
bool cancel_delayed_work(struct delayed_work *);
bool cancel_delayed_work_sync(struct delayed_work *);
+#define INIT_WORK_ONSTACK INIT_WORK
+
+static inline void
+destroy_work_on_stack(struct work_struct *work)
+{
+}
+
#endif /* _LINUX_WORKQUEUE_H_ */