summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 09:57:58 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 09:57:58 +0000
commit0f7604048444d65e748b656efdc2bc95f681519c (patch)
tree0203850b0d0e1ba770f5c9a95a9bcb7722322e8e /sys/dev
parent26b8537c3d1363e56384a82787eddfbd7c0c96f9 (diff)
Use wake_up_process() instead of wakeup() in dma_fence_default_wait_cb()
as there is code which uses schedule_timeout() for dma fences. suggested by kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drm_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c
index 2630cc08432..7fcae08f1f0 100644
--- a/sys/dev/pci/drm/drm_linux.c
+++ b/sys/dev/pci/drm/drm_linux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_linux.c,v 1.40 2019/07/09 09:55:09 jsg Exp $ */
+/* $OpenBSD: drm_linux.c,v 1.41 2019/07/09 09:57:57 jsg Exp $ */
/*
* Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org>
@@ -917,7 +917,7 @@ dma_fence_default_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
{
struct default_wait_cb *wait =
container_of(cb, struct default_wait_cb, base);
- wakeup(wait->proc);
+ wake_up_process(wait->proc);
}
long