aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2021-07-29 09:47:39 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2021-07-29 09:47:39 +0000
commit9e32efa79bf2dc95dab86d801c08cffcd6e171db (patch)
tree9d7345bea44d8d1ff5004505e515db65d255b4b5 /sys/sys
parent09f55e60024662d7a9da248257ec72cd86767cea (diff)
downloadsrc-9e32efa79bf2dc95dab86d801c08cffcd6e171db.tar.gz
src-9e32efa79bf2dc95dab86d801c08cffcd6e171db.zip
umtx: Split do_unlock_pi on two counterparts.
The umtx_pi_frop() will be used by Linux emulation layer. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D31238 MFC after: 2 weeks
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/umtxvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/umtxvar.h b/sys/sys/umtxvar.h
index fd193de5818b..a0ef7931a88d 100644
--- a/sys/sys/umtxvar.h
+++ b/sys/sys/umtxvar.h
@@ -222,6 +222,7 @@ int kern_umtx_wake(struct thread *, void *, int, int);
void umtx_pi_adjust(struct thread *, u_char);
struct umtx_pi *umtx_pi_alloc(int);
int umtx_pi_claim(struct umtx_pi *, struct thread *);
+int umtx_pi_drop(struct thread *, struct umtx_key *, bool, int *);
void umtx_pi_free(struct umtx_pi *);
void umtx_pi_insert(struct umtx_pi *);
struct umtx_pi *umtx_pi_lookup(struct umtx_key *);