Re: [dpdk-dev] [PATCH] power: fix struct cache line-alignment issues

2019-05-09 Thread Thomas Monjalon
05/05/2019 20:12, Mattias Rönnblom: > The ACPI and PState CPU frequency scaling drivers used the > __rte_cache_aligned attribute without including rte_memory.h, which > turns what looks as the declaration of a cache line-aligned struct > into a non-aligned struct declaration and the definition of a

[dpdk-dev] [PATCH] power: fix struct cache line-alignment issues

2019-05-05 Thread Mattias Rönnblom
The ACPI and PState CPU frequency scaling drivers used the __rte_cache_aligned attribute without including rte_memory.h, which turns what looks as the declaration of a cache line-aligned struct into a non-aligned struct declaration and the definition of an instance of the struct. Fixes: e6c6dc0f96