PERFORCE change 1199310 for review

John-Mark Gurney jmg at FreeBSD.org
Mon Sep 8 04:51:56 UTC 2014


http://p4web.freebsd.org/@@1199310?ac=10

Change 1199310 by jmg at jmg_carbon2 on 2014/08/25 18:30:41

	check the correct register.. I didn't notice because my test
	machine has the CLFLUSH feature, but Intel processors don't...
	
	Found by:	rrs

Affected files ...

.. //depot/projects/opencrypto/sys/crypto/aesni/aesni.c#5 edit

Differences ...

==== //depot/projects/opencrypto/sys/crypto/aesni/aesni.c#5 (text+ko) ====

@@ -84,7 +84,7 @@
 		return (EINVAL);
 	}
 
-	if ((cpu_feature & CPUID2_SSE41) == 0) {
+	if ((cpu_feature2 & CPUID2_SSE41) == 0) {
 		device_printf(dev, "No SSE4.1 support.\n");
 		return (EINVAL);
 	}


More information about the p4-projects mailing list