summaryrefslogtreecommitdiff
path: root/sys/crypto/crypto.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-10-30 23:55:23 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-10-30 23:55:23 +0000
commitb8538b7800104ea39fddfc4d633fd94b9edfdedd (patch)
tree61d1c64ca28f9f04e6cbd27fb425697f9eb0d10d /sys/crypto/crypto.c
parent9f5cf30a93400bfeddfa4ffab6084a13200fd88e (diff)
reintroduce mutexes to workqs for locking.
tested by many on many archs including several alpha test. ok tedu@ go for it deraadt@
Diffstat (limited to 'sys/crypto/crypto.c')
-rw-r--r--sys/crypto/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/crypto.c b/sys/crypto/crypto.c
index 434c0571dec..5faf0f645b7 100644
--- a/sys/crypto/crypto.c
+++ b/sys/crypto/crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.c,v 1.51 2007/11/28 13:52:23 tedu Exp $ */
+/* $OpenBSD: crypto.c,v 1.52 2008/10/30 23:55:22 dlg Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -630,7 +630,7 @@ crypto_getreq(int num)
void
init_crypto()
{
- crypto_workq = workq_create("crypto", 1);
+ crypto_workq = workq_create("crypto", 1, IPL_HIGH);
}
/*