From 3d375d970f6c0fc5655f4e49e02033a71d44bcec Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 9 Nov 2001 02:43:10 +0000 Subject: No need to initialize the pmap_growkernel_slock twice. No need to initialize the pmap_growkernel_slock twice. --- sys/arch/alpha/alpha/pmap.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys') 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) */ -- cgit v1.2.3