--- Net2/vm/lock.h 2018/04/24 18:03:57 1.1 +++ Net2/vm/lock.h 2018/04/24 18:15:04 1.1.1.2 @@ -33,7 +33,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)lock.h 7.3 (Berkeley) 4/21/91 + * from: @(#)lock.h 7.3 (Berkeley) 4/21/91 + * lock.h,v 1.3 1993/05/20 03:59:12 cgd Exp * * * Copyright (c) 1987, 1990 Carnegie-Mellon University. @@ -62,13 +63,13 @@ * rights to redistribute these changes. */ +#ifndef _VM_LOCK_H_ +#define _VM_LOCK_H_ + /* * Locking primitives definitions */ -#ifndef _LOCK_H_ -#define _LOCK_H_ - #define NCPUS 1 /* XXX */ /* @@ -172,4 +173,4 @@ boolean_t lock_try_read_to_write(); void lock_set_recursive(); void lock_clear_recursive(); -#endif /* !_LOCK_H_ */ +#endif /* !_VM_LOCK_H_ */