Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern MUTEX_CLEAR_WAITERS is only ever used by !__HAVE_SI...



details:   https://anonhg.NetBSD.org/src/rev/0a3c4046c4a5
branches:  trunk
changeset: 789981:0a3c4046c4a5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Sep 14 13:19:18 2013 +0000

description:
MUTEX_CLEAR_WAITERS is only ever used by !__HAVE_SIMPLE_MUTEXES

diffstat:

 sys/kern/kern_mutex.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a04ed83ce00a -r 0a3c4046c4a5 sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c     Sat Sep 14 13:18:31 2013 +0000
+++ b/sys/kern/kern_mutex.c     Sat Sep 14 13:19:18 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_mutex.c,v 1.54 2013/04/27 08:12:34 mlelstv Exp $  */
+/*     $NetBSD: kern_mutex.c,v 1.55 2013/09/14 13:19:18 joerg Exp $    */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #define        __MUTEX_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.54 2013/04/27 08:12:34 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.55 2013/09/14 13:19:18 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -218,7 +218,7 @@
        MUTEX_INHERITDEBUG(new, mtx->mtx_owner);
        mtx->mtx_owner = new;
 }
-
+#else
 static inline void
 MUTEX_CLEAR_WAITERS(kmutex_t *mtx)
 {



Home | Main Index | Thread Index | Old Index