Fix call to simple_lock_assert_held() so builds with -DDEBUG work.

This commit is contained in:
erh 2006-03-31 06:01:07 +00:00
parent a21b75e520
commit 76d8aa2c53
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_lock.c,v 1.94 2006/03/26 20:19:52 erh Exp $ */
/* $NetBSD: kern_lock.c,v 1.95 2006/03/31 06:01:07 erh Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.94 2006/03/26 20:19:52 erh Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.95 2006/03/31 06:01:07 erh Exp $");
#include "opt_multiprocessor.h"
#include "opt_lockdebug.h"
@ -1534,7 +1534,7 @@ _kernel_lock_acquire_count(int hold_count)
void
_kernel_lock_assert_locked()
{
_simple_lock_assert_locked(&kernel_lock, "kernel_lock");
simple_lock_assert_locked(&kernel_lock, "kernel_lock");
}
#endif