svn commit: r318560 - stable/11/sys/libkern
Mark Johnston
markj at FreeBSD.org
Fri May 19 21:18:43 UTC 2017
Author: markj
Date: Fri May 19 21:18:42 2017
New Revision: 318560
URL: https://svnweb.freebsd.org/changeset/base/318560
Log:
Direct commit to fix the PC98 build.
Modified:
stable/11/sys/libkern/crc32.c
Modified: stable/11/sys/libkern/crc32.c
==============================================================================
--- stable/11/sys/libkern/crc32.c Fri May 19 20:22:44 2017 (r318559)
+++ stable/11/sys/libkern/crc32.c Fri May 19 21:18:42 2017 (r318560)
@@ -755,7 +755,7 @@ calculate_crc32c(uint32_t crc32c,
const unsigned char *buffer,
unsigned int length)
{
-#if defined(__amd64__) || defined(__i386__)
+#if defined(__amd64__) || (defined(__i386__) && !defined(PC98))
if ((cpu_feature2 & CPUID2_SSE42) != 0) {
return (sse42_crc32c(crc32c, buffer, length));
} else
More information about the svn-src-stable-11
mailing list