replace alignment attributes
[dpdk.git] / drivers / common / dpaax / compat.h
index 12c9d99..5b11c2d 100644 (file)
@@ -63,7 +63,7 @@
 #define noinline       __attribute__((noinline))
 #endif
 #define L1_CACHE_BYTES 64
-#define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
+#define ____cacheline_aligned __rte_aligned(L1_CACHE_BYTES)
 #define __stringify_1(x) #x
 #define __stringify(x) __stringify_1(x)