aesni(4): Fix trivial typo (AQUIRE -> ACQUIRE)

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2017-09-20 17:53:25 +00:00
parent cd037f075c
commit 81326306dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323820

View File

@ -61,7 +61,7 @@ struct aesni_softc {
struct rwlock lock; struct rwlock lock;
}; };
#define AQUIRE_CTX(i, ctx) \ #define ACQUIRE_CTX(i, ctx) \
do { \ do { \
(i) = PCPU_GET(cpuid); \ (i) = PCPU_GET(cpuid); \
mtx_lock(&ctx_mtx[(i)]); \ mtx_lock(&ctx_mtx[(i)]); \
@ -490,7 +490,7 @@ aesni_cipher_setup(struct aesni_session *ses, struct cryptoini *encini)
kt = is_fpu_kern_thread(0); kt = is_fpu_kern_thread(0);
if (!kt) { if (!kt) {
AQUIRE_CTX(ctxidx, ctx); ACQUIRE_CTX(ctxidx, ctx);
error = fpu_kern_enter(curthread, ctx, error = fpu_kern_enter(curthread, ctx,
FPU_KERN_NORMAL | FPU_KERN_KTHR); FPU_KERN_NORMAL | FPU_KERN_KTHR);
if (error != 0) if (error != 0)
@ -547,7 +547,7 @@ aesni_cipher_process(struct aesni_session *ses, struct cryptodesc *enccrd,
kt = is_fpu_kern_thread(0); kt = is_fpu_kern_thread(0);
if (!kt) { if (!kt) {
AQUIRE_CTX(ctxidx, ctx); ACQUIRE_CTX(ctxidx, ctx);
error = fpu_kern_enter(curthread, ctx, error = fpu_kern_enter(curthread, ctx,
FPU_KERN_NORMAL|FPU_KERN_KTHR); FPU_KERN_NORMAL|FPU_KERN_KTHR);
if (error != 0) if (error != 0)