]> git.droids-corp.org - dpdk.git/blobdiff - examples/multi_process/symmetric_mp/main.c
replace alignment attributes
[dpdk.git] / examples / multi_process / symmetric_mp / main.c
index 7f491452a729fc18a51baeb32223fc919dba9cee..522f211c0f48e8d54ba4f89f92716058f82ece00 100644 (file)
@@ -66,7 +66,7 @@ struct port_stats{
        unsigned rx;
        unsigned tx;
        unsigned drop;
        unsigned rx;
        unsigned tx;
        unsigned drop;
-} __attribute__((aligned(RTE_CACHE_LINE_SIZE / 2)));
+} __rte_aligned(RTE_CACHE_LINE_SIZE / 2);
 
 static int proc_id = -1;
 static unsigned num_procs = 0;
 
 static int proc_id = -1;
 static unsigned num_procs = 0;