summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/pmap.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-07 08:11:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-07 08:11:45 +0000
commite8f3ae987441eee401c44dd1a8e113ca9cea484f (patch)
tree27da19e8f7dd43c10bc5d298e799bbe9c5f2a699 /sys/arch/sparc/include/pmap.h
parent573eb69dc8488de8f086c4d9acbe01ba518432d6 (diff)
simple_lock api changed slightly
Diffstat (limited to 'sys/arch/sparc/include/pmap.h')
-rw-r--r--sys/arch/sparc/include/pmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/pmap.h b/sys/arch/sparc/include/pmap.h
index af3b5e420a9..a96e5fc48f6 100644
--- a/sys/arch/sparc/include/pmap.h
+++ b/sys/arch/sparc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.6 1997/09/17 06:47:14 downsj Exp $ */
+/* $OpenBSD: pmap.h,v 1.7 1997/11/07 08:11:41 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.30 1997/08/04 20:00:47 pk Exp $ */
/*
@@ -139,9 +139,7 @@ TAILQ_HEAD(mmuhd,mmuentry);
struct pmap {
union ctxinfo *pm_ctx; /* current context, if any */
int pm_ctxnum; /* current context's number */
-#if 0
- simple_lock_data_t pm_lock; /* spinlock */
-#endif
+ struct simplelock pm_lock; /* spinlock */
int pm_refcount; /* just what it says */
struct mmuhd pm_reglist; /* MMU regions on this pmap (4/4c) */