svn commit: r323820 - head/sys/crypto/aesni

Conrad Meyer cem at FreeBSD.org
Wed Sep 20 17:53:26 UTC 2017


Author: cem
Date: Wed Sep 20 17:53:25 2017
New Revision: 323820
URL: https://svnweb.freebsd.org/changeset/base/323820

Log:
  aesni(4): Fix trivial typo (AQUIRE -> ACQUIRE)
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/crypto/aesni/aesni.c

Modified: head/sys/crypto/aesni/aesni.c
==============================================================================
--- head/sys/crypto/aesni/aesni.c	Wed Sep 20 17:49:57 2017	(r323819)
+++ head/sys/crypto/aesni/aesni.c	Wed Sep 20 17:53:25 2017	(r323820)
@@ -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 c
 
 	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
 
 	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)


More information about the svn-src-head mailing list