eal: remove forward declaration of generic driver
[dpdk.git] / lib / librte_eal / common / arch / arm / rte_cpuflags.c
index f14c56a..79160a6 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);
 }
 
 /*