From 503a0d5298545bad1228757da29679b757fbfc6a Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 22 Apr 2006 22:19:19 +0000 Subject: [PATCH] Add spin_uninit() to provide symmetry with spin_init(). --- sys/sys/spinlock2.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/sys/spinlock2.h b/sys/sys/spinlock2.h index f60356a926..b2441d9c12 100644 --- a/sys/sys/spinlock2.h +++ b/sys/sys/spinlock2.h @@ -29,7 +29,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/sys/spinlock2.h,v 1.4 2005/11/19 17:19:48 dillon Exp $ + * $DragonFly: src/sys/sys/spinlock2.h,v 1.5 2006/04/22 22:19:19 dillon Exp $ */ #ifndef _SYS_SPINLOCK2_H_ @@ -94,6 +94,12 @@ spin_init(struct spinlock *mtx) mtx->lock = 0; } +static __inline void +spin_uninit(struct spinlock *mtx) +{ + /* unused */ +} + #else /* SMP */ static __inline boolean_t -- 2.11.4.GIT