]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/arch/arm/rte_cpuflags.c
eal: remove forward declaration of generic driver
[dpdk.git] / lib / librte_eal / common / arch / arm / rte_cpuflags.c
index f14c56ae81d188f6894fee05898edf711f5ad9b7..79160a60ce2fe829709bc39dac84aea74b022a17 100644 (file)
@@ -122,6 +122,7 @@ const struct feature_entry rte_cpu_feature_table[] = {
        FEAT_DEF(SHA1,          REG_HWCAP,    5)
        FEAT_DEF(SHA2,          REG_HWCAP,    6)
        FEAT_DEF(CRC32,         REG_HWCAP,    7)
+       FEAT_DEF(ATOMICS,       REG_HWCAP,    8)
        FEAT_DEF(AARCH64,       REG_PLATFORM, 1)
 };
 #endif /* RTE_ARCH */
@@ -147,6 +148,7 @@ rte_cpu_get_features(hwcap_registers_t out)
                                out[REG_PLATFORM] = 0x0001;
                }
        }
+       close(auxv_fd);
 }
 
 /*