Module Name: src Committed By: joerg Date: Sat Sep 14 13:19:18 UTC 2013
Modified Files: src/sys/kern: kern_mutex.c Log Message: MUTEX_CLEAR_WAITERS is only ever used by !__HAVE_SIMPLE_MUTEXES To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/kern/kern_mutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_mutex.c diff -u src/sys/kern/kern_mutex.c:1.54 src/sys/kern/kern_mutex.c:1.55 --- src/sys/kern/kern_mutex.c:1.54 Sat Apr 27 08:12:34 2013 +++ src/sys/kern/kern_mutex.c Sat Sep 14 13:19:18 2013 @@ -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_RELEASE(kmutex_t *mtx) MUTEX_INHERITDEBUG(new, mtx->mtx_owner); mtx->mtx_owner = new; } - +#else static inline void MUTEX_CLEAR_WAITERS(kmutex_t *mtx) {