now that simple_lock is a define elsewhere as well, #undef it in the

regress case.
This commit is contained in:
dogcow 2007-03-13 13:25:57 +00:00
parent 9e2c46fe42
commit 592f917095
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_extent.c,v 1.63 2007/03/12 18:18:34 ad Exp $ */
/* $NetBSD: subr_extent.c,v 1.64 2007/03/13 13:25:57 dogcow Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.63 2007/03/12 18:18:34 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.64 2007/03/13 13:25:57 dogcow Exp $");
#ifdef _KERNEL
#include "opt_lockdebug.h"
@ -96,6 +96,10 @@ splhigh() (1)
#define \
splx(s) ((void)(s))
#undef simple_lock_init
#undef simple_lock
#undef simple_unlock
#define \
simple_lock_init(l) ((void)(l))
#define \