From 81326306dd741ed8e1935e5d942ff60178d8ca0e Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 20 Sep 2017 17:53:25 +0000 Subject: [PATCH] aesni(4): Fix trivial typo (AQUIRE -> ACQUIRE) Sponsored by: Dell EMC Isilon --- sys/crypto/aesni/aesni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/crypto/aesni/aesni.c b/sys/crypto/aesni/aesni.c index bfea2f0ab1bc..291bd33b6a7c 100644 --- a/sys/crypto/aesni/aesni.c +++ b/sys/crypto/aesni/aesni.c @@ -61,7 +61,7 @@ struct aesni_softc { struct rwlock lock; }; -#define AQUIRE_CTX(i, ctx) \ +#define ACQUIRE_CTX(i, ctx) \ do { \ (i) = PCPU_GET(cpuid); \ 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); if (!kt) { - AQUIRE_CTX(ctxidx, ctx); + ACQUIRE_CTX(ctxidx, ctx); error = fpu_kern_enter(curthread, ctx, FPU_KERN_NORMAL | FPU_KERN_KTHR); if (error != 0) @@ -547,7 +547,7 @@ aesni_cipher_process(struct aesni_session *ses, struct cryptodesc *enccrd, kt = is_fpu_kern_thread(0); if (!kt) { - AQUIRE_CTX(ctxidx, ctx); + ACQUIRE_CTX(ctxidx, ctx); error = fpu_kern_enter(curthread, ctx, FPU_KERN_NORMAL|FPU_KERN_KTHR); if (error != 0)