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 Stubs for init/destroy...



details:   https://anonhg.NetBSD.org/src/rev/afb38714126c
branches:  trunk
changeset: 1028029:afb38714126c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:41:12 2021 +0000

description:
Stubs for init/destroy delayed work on stack.

diffstat:

 sys/external/bsd/common/include/linux/workqueue.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r eb3499a01888 -r afb38714126c sys/external/bsd/common/include/linux/workqueue.h
--- a/sys/external/bsd/common/include/linux/workqueue.h Sun Dec 19 01:41:03 2021 +0000
+++ b/sys/external/bsd/common/include/linux/workqueue.h Sun Dec 19 01:41:12 2021 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index