summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-09 02:43:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-09 02:43:10 +0000
commit3d375d970f6c0fc5655f4e49e02033a71d44bcec (patch)
tree4e590dd43aa7bf3ad4e65404ad0f7aa7ff368488 /sys
parente5569e540dbf2a51361060daf6d062ea8297e0c9 (diff)
No need to initialize the pmap_growkernel_slock twice.
No need to initialize the pmap_growkernel_slock twice.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/alpha/pmap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c
index 082218683b2..af386ef98e5 100644
--- a/sys/arch/alpha/alpha/pmap.c
+++ b/sys/arch/alpha/alpha/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.17 2001/08/12 12:03:02 heko Exp $ */
+/* $OpenBSD: pmap.c,v 1.18 2001/11/09 02:43:09 art Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@ -380,9 +380,6 @@ u_long pmap_asn_generation[ALPHA_MAXPROCS]; /* current ASN generation */
* * pmap_growkernel_slock - This lock protects pmap_growkernel()
* and the virtual_end variable.
*
- * * pmap_growkernel_slock - This lock protects pmap_growkernel()
- * and the virtual_end variable.
- *
* Address space number management (global ASN counters and per-pmap
* ASN state) are not locked; they use arrays of values indexed
* per-processor.
@@ -921,9 +918,6 @@ pmap_bootstrap(paddr_t ptaddr, u_int maxasn, u_long ncpuids)
/* Initialize the pmap_growkernel_slock. */
simple_lock_init(&pmap_growkernel_slock);
- /* Initialize the pmap_growkernel_slock. */
- simple_lock_init(&pmap_growkernel_slock);
-
/*
* Set up level three page table (lev3map)
*/