Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/common/include/linux Define dummy INIT_WORK...
details: https://anonhg.NetBSD.org/src/rev/5ea83e72b6ca
branches: trunk
changeset: 992530:5ea83e72b6ca
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 06:54:40 2018 +0000
description:
Define dummy INIT_WORK_ONSTACK and destroy_work_onstack.
diffstat:
sys/external/bsd/common/include/linux/workqueue.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 0a651cd9d087 -r 5ea83e72b6ca sys/external/bsd/common/include/linux/workqueue.h
--- a/sys/external/bsd/common/include/linux/workqueue.h Mon Aug 27 06:54:29 2018 +0000
+++ b/sys/external/bsd/common/include/linux/workqueue.h Mon Aug 27 06:54:40 2018 +0000
@@ -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 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_ */
Home |
Main Index |
Thread Index |
Old Index