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 Add some <linux/fence.h>...



details:   https://anonhg.NetBSD.org/src/rev/5123880ad13b
branches:  trunk
changeset: 992509:5123880ad13b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:50:20 2018 +0000

description:
Add some <linux/fence.h> prototypes.

diffstat:

 sys/external/bsd/drm2/include/linux/fence.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8f055dd7f78b -r 5123880ad13b sys/external/bsd/drm2/include/linux/fence.h
--- a/sys/external/bsd/drm2/include/linux/fence.h       Mon Aug 27 06:50:03 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/fence.h       Mon Aug 27 06:50:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fence.h,v 1.2 2018/08/27 06:43:10 riastradh Exp $      */
+/*     $NetBSD: fence.h,v 1.3 2018/08/27 06:50:20 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -40,5 +40,10 @@
        const struct fence_ops  *ops;
 };
 
+#define        fence_put               linux_fence_put
+#define        fence_wait              linux_fence_wait
+
+long   fence_wait(struct fence *, bool);
+void   fence_put(struct fence *);
 
 #endif /* _LINUX_FENCE_H_ */



Home | Main Index | Thread Index | Old Index