diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
commit | 04f22301b1591dc3ad7bd6d58fc5515fbe615cab (patch) | |
tree | 707b3295f21abc37b1315e0ba2a8ab3a087a771c /sys/uvm/uvm_swap.c | |
parent | a68a3241a2d1e9f8ae90216909eee955ad98be88 (diff) |
Add a name argument to the RWLOCK_INITIALIZER macro.
Pick reasonble names for the locks involved..
ok tedu@, art@
Diffstat (limited to 'sys/uvm/uvm_swap.c')
-rw-r--r-- | sys/uvm/uvm_swap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c index 6834f89a462..afc772d1df9 100644 --- a/sys/uvm/uvm_swap.c +++ b/sys/uvm/uvm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_swap.c,v 1.68 2007/04/13 18:57:49 art Exp $ */ +/* $OpenBSD: uvm_swap.c,v 1.69 2007/05/29 00:17:33 thib Exp $ */ /* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */ /* @@ -227,7 +227,7 @@ LIST_HEAD(swap_priority, swappri); static struct swap_priority swap_priority; /* locks */ -struct rwlock swap_syscall_lock = RWLOCK_INITIALIZER; +struct rwlock swap_syscall_lock = RWLOCK_INITIALIZER("swplk"); /* * prototypes |