Arrange struct simplelock more efficiently. (Megabytes of these can be

allocated dynamically.)
This commit is contained in:
ross 1999-08-14 06:56:07 +00:00
parent 7c367407aa
commit 0833f2de7b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lock.h,v 1.23 1999/08/10 21:10:20 thorpej Exp $ */
/* $NetBSD: lock.h,v 1.24 1999/08/14 06:56:07 ross Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -98,9 +98,9 @@ struct simplelock {
int lock_data __attribute__((__aligned__));
#ifdef LOCKDEBUG
const char *lock_file;
int lock_line;
const char *unlock_file;
int unlock_line;
short lock_line;
short unlock_line;
TAILQ_ENTRY(simplelock) list;
cpuid_t lock_holder; /* CPU ID */
#endif