table: fix arm64 hash function selection
[dpdk.git] / lib / librte_table / rte_table_hash_func.h
index 02296ea..11ea5a9 100644 (file)
@@ -40,7 +40,7 @@ rte_crc32_u64(uint64_t crc, uint64_t v)
        return _mm_crc32_u64(crc, v);
 }
 
-#elif defined(RTE_ARCH_ARM64)
+#elif defined(RTE_ARCH_ARM64) && defined(RTE_MACHINE_CPUFLAG_CRC32)
 #include "rte_table_hash_func_arm64.h"
 #else