diff options
Diffstat (limited to 'platform/linux-generic/include/odp/api/plat/cpumask_types.h')
-rw-r--r-- | platform/linux-generic/include/odp/api/plat/cpumask_types.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp/api/plat/cpumask_types.h b/platform/linux-generic/include/odp/api/plat/cpumask_types.h index c59f407a0..c2727a46c 100644 --- a/platform/linux-generic/include/odp/api/plat/cpumask_types.h +++ b/platform/linux-generic/include/odp/api/plat/cpumask_types.h @@ -23,6 +23,7 @@ extern "C" { */ #include <odp/api/std_types.h> +#include <odp/api/align.h> #define ODP_CPUMASK_SIZE 1024 @@ -34,8 +35,13 @@ extern "C" { * Don't access directly, use access functions. */ typedef struct odp_cpumask_t { - cpu_set_t set; /**< @private Mask*/ -} odp_cpumask_t; + /** @private CPU mask storage + * + * This is private to the implementation. + * Don't access directly, use access functions. + */ + uint8_t _u8[ODP_CPUMASK_SIZE / 8]; +} odp_cpumask_t ODP_ALIGNED(8); /** * @} |