diff options
author | jhb <jhb@FreeBSD.org> | 2002-05-01 18:11:16 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-05-01 18:11:16 +0000 |
commit | 59e363cb4e865ff7d8b202404ec9fe6769815abf (patch) | |
tree | 17798a03ccacc45678fa4db8fe34cda91b6d2405 | |
parent | d6c25b14c55ddc345f8beb7abeebd6ed61d58a35 (diff) | |
download | FreeBSD-src-59e363cb4e865ff7d8b202404ec9fe6769815abf.zip FreeBSD-src-59e363cb4e865ff7d8b202404ec9fe6769815abf.tar.gz |
Axe unused SESS_UNLOCK_NOSWITCH() and PGRP_UNLOCK_NOSWITCH() macros. The
MTX_NOSWITCH flag was deprecated a while ago.
-rw-r--r-- | sys/sys/proc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index ff682b3..f4259f4 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -606,8 +606,6 @@ sigonstack(size_t sp) /* Lock and unlock a process group. */ #define PGRP_LOCK(pg) mtx_lock(&(pg)->pg_mtx) #define PGRP_UNLOCK(pg) mtx_unlock(&(pg)->pg_mtx) -#define PGRP_UNLOCK_NOSWITCH(pg) \ - mtx_unlock_flags(&(pg)->pg_mtx, MTX_NOSWITCH) #define PGRP_LOCKED(pg) mtx_owned(&(pg)->pg_mtx) #define PGRP_LOCK_ASSERT(pg, type) mtx_assert(&(pg)->pg_mtx, (type)) @@ -626,8 +624,6 @@ sigonstack(size_t sp) /* Lock and unlock a session. */ #define SESS_LOCK(s) mtx_lock(&(s)->s_mtx) #define SESS_UNLOCK(s) mtx_unlock(&(s)->s_mtx) -#define SESS_UNLOCK_NOSWITCH(s) \ - mtx_unlock_flags(&(s)->s_mtx, MTX_NOSWITCH) #define SESS_LOCKED(s) mtx_owned(&(s)->s_mtx) #define SESS_LOCK_ASSERT(s, type) mtx_assert(&(s)->s_mtx, (type)) |