diff options
Diffstat (limited to 'sys/crypto/crypto.c')
-rw-r--r-- | sys/crypto/crypto.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/crypto/crypto.c b/sys/crypto/crypto.c index 3c1b21c88b8..b8f2e3a48ea 100644 --- a/sys/crypto/crypto.c +++ b/sys/crypto/crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.c,v 1.76 2016/04/18 21:05:55 kettenis Exp $ */ +/* $OpenBSD: crypto.c,v 1.77 2016/09/15 02:00:17 dlg Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -513,12 +513,10 @@ crypto_init(void) crypto_taskq = taskq_create("crypto", 1, IPL_VM, 0); crypto_taskq_mpsafe = taskq_create("crynlk", 1, IPL_VM|IPL_MPSAFE, 0); - pool_init(&cryptop_pool, sizeof(struct cryptop), 0, 0, - 0, "cryptop", NULL); - pool_setipl(&cryptop_pool, IPL_VM); - pool_init(&cryptodesc_pool, sizeof(struct cryptodesc), 0, 0, - 0, "cryptodesc", NULL); - pool_setipl(&cryptodesc_pool, IPL_VM); + pool_init(&cryptop_pool, sizeof(struct cryptop), 0, IPL_VM, 0, + "cryptop", NULL); + pool_init(&cryptodesc_pool, sizeof(struct cryptodesc), 0, IPL_VM, 0, + "cryptodesc", NULL); } /* |