X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_hash%2Frte_crc_arm64.h;h=a3c216bb79abaf550b1c4ee23125df05ecb9e999;hb=17715a53395c7bf27124e625d6598b28d8a1cc00;hp=774428be0a5e58a5dffd2cb9d394e0b39311e54f;hpb=6c986e1bdb10131975acaee7e94a757be8117e02;p=dpdk.git diff --git a/lib/librte_hash/rte_crc_arm64.h b/lib/librte_hash/rte_crc_arm64.h index 774428be0a..a3c216bb79 100644 --- a/lib/librte_hash/rte_crc_arm64.h +++ b/lib/librte_hash/rte_crc_arm64.h @@ -116,8 +116,7 @@ rte_hash_crc_set_alg(uint8_t alg) } /* Setting the best available algorithm */ -static inline void __attribute__((constructor)) -rte_hash_crc_init_alg(void) +RTE_INIT(rte_hash_crc_init_alg) { rte_hash_crc_set_alg(CRC32_ARM64); }