summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-06-13 06:13:33 +0000
committerjsg <jsg@openbsd.org>2020-06-13 06:13:33 +0000
commitb216994918d3ec7eea1de0091a2506f5b1911df6 (patch)
treeeed0728b76ef01882260421ee75490a3db9b417a
parentIntegrate the bsd-features branch from awk github. (diff)
downloadwireguard-openbsd-b216994918d3ec7eea1de0091a2506f5b1911df6.tar.xz
wireguard-openbsd-b216994918d3ec7eea1de0091a2506f5b1911df6.zip
use a unique wchan name for wait_for_completion()
ok kettenis@
-rw-r--r--sys/dev/pci/drm/include/linux/completion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/include/linux/completion.h b/sys/dev/pci/drm/include/linux/completion.h
index f1233514f80..e13615a800f 100644
--- a/sys/dev/pci/drm/include/linux/completion.h
+++ b/sys/dev/pci/drm/include/linux/completion.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: completion.h,v 1.4 2020/06/08 04:48:14 jsg Exp $ */
+/* $OpenBSD: completion.h,v 1.5 2020/06/13 06:13:33 jsg Exp $ */
/*
* Copyright (c) 2015, 2018 Mark Kettenis
*
@@ -71,7 +71,7 @@ wait_for_completion(struct completion *x)
mtx_enter(&x->wait.lock);
while (x->done == 0) {
- ret = msleep_nsec(x, &x->wait.lock, 0, "wfci", INFSLP);
+ ret = msleep_nsec(x, &x->wait.lock, 0, "wfcom", INFSLP);
if (ret) {
mtx_leave(&x->wait.lock);
return (ret == EWOULDBLOCK) ? 0 : -ret;