summaryrefslogtreecommitdiff
path: root/sys/external/bsd/drm2/include/linux
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-12-19 01:48:22 +0000
committerriastradh <riastradh@NetBSD.org>2021-12-19 01:48:22 +0000
commit1d9fbed211ab257562d400a8a687e6957c2d4602 (patch)
tree3ca294d6d67461694dd0f44bd3f932ef06af84ff /sys/external/bsd/drm2/include/linux
parentaba892b195f7a6649b8b04de3923da5f0d55e943 (diff)
Allow const volatile fence pointer pointers in dma_fence_get_rcu_safe.
Diffstat (limited to 'sys/external/bsd/drm2/include/linux')
-rw-r--r--sys/external/bsd/drm2/include/linux/dma-fence.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/external/bsd/drm2/include/linux/dma-fence.h b/sys/external/bsd/drm2/include/linux/dma-fence.h
index 1b81690dbb0..d5ace7a8f7a 100644
--- a/sys/external/bsd/drm2/include/linux/dma-fence.h
+++ b/sys/external/bsd/drm2/include/linux/dma-fence.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dma-fence.h,v 1.6 2021/12/19 01:40:55 riastradh Exp $ */
+/* $NetBSD: dma-fence.h,v 1.7 2021/12/19 01:48:22 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -116,7 +116,7 @@ struct dma_fence *
struct dma_fence *
dma_fence_get_rcu(struct dma_fence *);
struct dma_fence *
- dma_fence_get_rcu_safe(struct dma_fence **);
+ dma_fence_get_rcu_safe(struct dma_fence *volatile const *);
void dma_fence_put(struct dma_fence *);
int dma_fence_add_callback(struct dma_fence *, struct dma_fence_cb *,