Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux linux: stub async_synchr...



details:   https://anonhg.NetBSD.org/src/rev/460ea2bec12b
branches:  trunk
changeset: 1028675:460ea2bec12b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:39:38 2021 +0000

description:
linux: stub async_synchronize_cookie

diffstat:

 sys/external/bsd/drm2/include/linux/async.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 754d6f155f0d -r 460ea2bec12b sys/external/bsd/drm2/include/linux/async.h
--- a/sys/external/bsd/drm2/include/linux/async.h       Sun Dec 19 11:39:32 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/async.h       Sun Dec 19 11:39:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: async.h,v 1.4 2018/08/27 07:55:49 riastradh Exp $      */
+/*     $NetBSD: async.h,v 1.5 2021/12/19 11:39:38 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -61,4 +61,15 @@
 {
 }
 
+/*
+ * async_synchronize_cookie(cookie)
+ *
+ *     Wait until the function passed to the async_schedule call that
+ *     returned cookie has completed.
+ */
+static inline void
+async_synchronize_cookie(unsigned long cookie)
+{
+}
+
 #endif /* _LINUX_ASYNC_H_ */



Home | Main Index | Thread Index | Old Index