aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_pool_internal.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-11-11 13:43:20 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2020-11-16 14:11:37 +0200
commitd5b65d406dd4f1682df32fdc2b4db01f982f5836 (patch)
tree6b2134558d38267d85fc3d5d4dc1252bc97e8748 /platform/linux-generic/include/odp_pool_internal.h
parentc62b514b6df1f1ebc460abe9777e253dc8a5623c (diff)
linux-gen: unify ODP_ALIGNED usage
Use ODP_ALIGNED (GCC's aligned attribute) according to the GCC documentation. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_pool_internal.h')
-rw-r--r--platform/linux-generic/include/odp_pool_internal.h2
1 files changed, 1 insertions, 1 deletions
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;