summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-05-02 03:17:14 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-05-02 03:17:14 +0000
commitb3622b6c7bb38ebd6738beac6ca6184c72b85f6c (patch)
treeb5644715a7b15a5109804e31ae6121f109b064d5
parent8f1899d4e946387009afb519380da197a9ce06d7 (diff)
remove static from a simple lock to avoid a compiler warning/error that
shows up due to the lock.h simplification. noticed by patrick. stealing his commit because the tree should at least compile while we debate the future of simplelocks.
-rw-r--r--sys/arch/arm/arm/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/pmap.c b/sys/arch/arm/arm/pmap.c
index aafab151e9c..b74b5e4e0ed 100644
--- a/sys/arch/arm/arm/pmap.c
+++ b/sys/arch/arm/arm/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.39 2013/05/01 11:54:59 patrick Exp $ */
+/* $OpenBSD: pmap.c,v 1.40 2013/05/02 03:17:13 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */
/*
@@ -366,7 +366,7 @@ struct l1_ttable {
* the userland pmaps which owns this L1) are moved to the TAIL.
*/
static TAILQ_HEAD(, l1_ttable) l1_lru_list;
-static struct simplelock l1_lru_lock;
+struct simplelock l1_lru_lock;
/*
* A list of all L1 tables