Add missing #ifdef _KERNEL

This commit is contained in:
ad 2007-03-13 15:58:26 +00:00
parent c3d5f3709f
commit 99adf737bc

View File

@ -1,4 +1,4 @@
/* $NetBSD: simplelock.h,v 1.2 2007/03/12 16:31:54 ad Exp $ */
/* $NetBSD: simplelock.h,v 1.3 2007/03/13 15:58:26 ad Exp $ */
/*-
* Copyright (c) 1999, 2000, 2006, 2007 The NetBSD Foundation, Inc.
@ -133,6 +133,8 @@ struct simplelock {
#endif
#endif /* __CPU_SIMPLE_LOCK_PAD */
#ifdef _KERNEL
#if defined(LOCKDEBUG)
void _simple_lock(volatile struct simplelock *, const char *, int);
@ -188,4 +190,6 @@ void simple_lock_switchcheck(void);
#define LOCK_ASSERT(x) /* nothing */
#endif
#endif /* _KERNEL */
#endif /* _SYS_SIMPLELOCK_H_ */