replace packed attributes
[dpdk.git] / lib / librte_eal / common / eal_private.h
index 8a9d493..8536ed7 100644 (file)
@@ -29,7 +29,6 @@ struct lcore_config {
        unsigned int core_id;      /**< core number on socket for this lcore */
        int core_index;            /**< relative index, starting from 0 */
        uint8_t core_role;         /**< role of core eg: OFF, RTE, SERVICE */
-       uint8_t detected;          /**< true if lcore was detected */
 
        rte_cpuset_t cpuset;       /**< cpu set which the lcore affinity to */
 };
@@ -58,7 +57,7 @@ struct rte_config {
         * DPDK instances
         */
        struct rte_mem_config *mem_config;
-} __attribute__((__packed__));
+} __rte_packed;
 
 /**
  * Get the global configuration structure.