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

Reviewed by:	kib (a while ago)
This commit is contained in:
John-Mark Gurney 2015-07-06 19:17:56 +00:00
parent aa0e2887f4
commit bcc0b68477
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285215

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);