remove _NORMAL flag which isn't suppose to be used w/ _alloc_ctx...

Reviewed by:	kib (a while ago)
This commit is contained in:
jmg 2015-07-06 19:17:56 +00:00
parent 29181895d5
commit 384ca830a8

View File

@ -206,8 +206,7 @@ aesni_newsession(device_t dev, uint32_t *sidp, struct cryptoini *cri)
rw_wunlock(&sc->lock);
return (ENOMEM);
}
ses->fpu_ctx = fpu_kern_alloc_ctx(FPU_KERN_NORMAL |
FPU_KERN_NOWAIT);
ses->fpu_ctx = fpu_kern_alloc_ctx(FPU_KERN_NOWAIT);
if (ses->fpu_ctx == NULL) {
free(ses, M_AESNI);
rw_wunlock(&sc->lock);