diff options
author | 2020-06-13 06:22:41 +0000 | |
---|---|---|
committer | 2020-06-13 06:22:41 +0000 | |
commit | 13dfc7675126ec32a29ed2e3eb3a94a20e09f1b4 (patch) | |
tree | 01e7dfd1ff0d188e6f3d85d1e0a07cb92d64ba18 /sys/dev | |
parent | use a unique wchan name for wait_for_completion() (diff) | |
download | wireguard-openbsd-13dfc7675126ec32a29ed2e3eb3a94a20e09f1b4.tar.xz wireguard-openbsd-13dfc7675126ec32a29ed2e3eb3a94a20e09f1b4.zip |
use wakeup_one() in complete()
ok kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/include/linux/completion.h | 4 |
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 e13615a800f..04f039bc166 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.5 2020/06/13 06:13:33 jsg Exp $ */ +/* $OpenBSD: completion.h,v 1.6 2020/06/13 06:22:41 jsg Exp $ */ /* * Copyright (c) 2015, 2018 Mark Kettenis * @@ -132,7 +132,7 @@ complete(struct completion *x) if (x->done != UINT_MAX) x->done++; mtx_leave(&x->wait.lock); - wakeup(x); + wakeup_one(x); } static inline void |