Commit addc5457 authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

util: get SPDK_HAVE_* values for crc32.c



crc32.c uses SPDK_HAVE_ARM_CRC to use __crc32
intrinsics when available, but it isn't including
anything that would actually define SPDK_HAVE_ARM_CRC.

Only crc32c.c tried to define this previously, that
all got moved to crc_internal.h now, so we can just
include that here.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: Ic5c2e6908508e32d2f3784304c5b58d3acd4c965
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16688


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 500ce169
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
 */

#include "util_internal.h"
#include "crc_internal.h"
#include "spdk/crc32.h"

void