diff options
Diffstat (limited to 'platform/linux-generic/include/odp_pool_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_pool_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h index 61ec5ccc5..8284bcd7d 100644 --- a/platform/linux-generic/include/odp_pool_internal.h +++ b/platform/linux-generic/include/odp_pool_internal.h @@ -26,27 +26,27 @@ extern "C" { #include <odp_ring_internal.h> #include <odp/api/plat/strong_types.h> -typedef struct pool_cache_t { +typedef struct ODP_ALIGNED_CACHE pool_cache_t { uint32_t num; uint32_t buf_index[CONFIG_POOL_CACHE_SIZE]; -} pool_cache_t ODP_ALIGNED_CACHE; +} pool_cache_t; /* Buffer header ring */ -typedef struct { +typedef struct ODP_ALIGNED_CACHE { /* Ring header */ ring_t hdr; /* Ring data: buffer handles */ uint32_t buf[CONFIG_POOL_MAX_NUM]; -} pool_ring_t ODP_ALIGNED_CACHE; +} pool_ring_t; /* Callback function for pool destroy */ typedef void (*pool_destroy_cb_fn)(void *pool); typedef struct pool_t { - odp_ticketlock_t lock ODP_ALIGNED_CACHE; + odp_ticketlock_t ODP_ALIGNED_CACHE lock; char name[ODP_POOL_NAME_LEN]; odp_pool_param_t params; |