summaryrefslogtreecommitdiff
path: root/sys/vm/lock.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-19 21:10:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-19 21:10:57 +0000
commit169c29d1b708c51bbae3f546e0adfe0d433b5b7b (patch)
tree15b32c155eb85259ca3be610962de5f8aa24b91c /sys/vm/lock.h
parent7aa5f12551d2fef2475152a3a5c9b9961e14b83a (diff)
Merging w/ NetBSD 021796.
speaker upgraded to the current. some changes to the VM stuff (ie kern_thread.c added and so).
Diffstat (limited to 'sys/vm/lock.h')
-rw-r--r--sys/vm/lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/lock.h b/sys/vm/lock.h
index 1157b83f356..a2a518c8ebb 100644
--- a/sys/vm/lock.h
+++ b/sys/vm/lock.h
@@ -78,7 +78,7 @@
*/
struct slock {
- int lock_data; /* in general 1 bit is sufficient */
+ boolean_t lock_data; /* in general 1 bit is sufficient */
};
typedef struct slock simple_lock_data_t;
@@ -131,7 +131,7 @@ struct lock {
int read_count; /* Number of accepted readers */
#endif /* ns32000 */
#endif /* vax */
- void *thread; /* Thread that has lock, if recursive locking allowed */
+ struct thread *thread; /* Thread that has lock, if recursive locking allowed */
/* (should be thread_t, but but we then have mutually
recursive definitions) */
int recursion_depth;/* Depth of recursion */