From d5b65d406dd4f1682df32fdc2b4db01f982f5836 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Wed, 11 Nov 2020 13:43:20 +0200 Subject: linux-gen: unify ODP_ALIGNED usage Use ODP_ALIGNED (GCC's aligned attribute) according to the GCC documentation. Signed-off-by: Matias Elo Reviewed-by: Petri Savolainen --- platform/linux-generic/include/odp_pool_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/linux-generic/include/odp_pool_internal.h') diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h index a8947ddd9..007cb7b3f 100644 --- a/platform/linux-generic/include/odp_pool_internal.h +++ b/platform/linux-generic/include/odp_pool_internal.h @@ -48,7 +48,7 @@ typedef struct ODP_ALIGNED_CACHE { typedef void (*pool_destroy_cb_fn)(void *pool); typedef struct pool_t { - odp_ticketlock_t ODP_ALIGNED_CACHE lock; + odp_ticketlock_t lock ODP_ALIGNED_CACHE; char name[ODP_POOL_NAME_LEN]; odp_pool_param_t params; -- cgit v1.2.3