diff options
author | danh-arm <dan.handley@arm.com> | 2016-09-19 11:57:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 11:57:02 +0100 |
commit | 92455d89a97a0dcc2201a8292c824aa2684af395 (patch) | |
tree | 0a81ed51ccd3081ae10a433db7e4a51fa731b755 /include | |
parent | 0980b8ae8f12abacaee231f5ee01288946d6e55c (diff) | |
parent | 2d84b46e96124d1d4953e25d70980263163dc90a (diff) |
Merge pull request #706 from dp-arm/dp/pmf-aligned-svc
Ensure PMF service timestamps are properly aligned on a cache line bo…
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/pmf/pmf_helpers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/lib/pmf/pmf_helpers.h b/include/lib/pmf/pmf_helpers.h index 9be6050f..bb4242c1 100644 --- a/include/lib/pmf/pmf_helpers.h +++ b/include/lib/pmf/pmf_helpers.h @@ -71,7 +71,9 @@ typedef struct pmf_svc_desc { */ #define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \ unsigned long long pmf_ts_mem_ ## _name[_total_id] \ - __section("pmf_timestamp_array") __used; + __aligned(CACHE_WRITEBACK_GRANULE) \ + __section("pmf_timestamp_array") \ + __used; /* * Convenience macro to validate tid index for the given TS array. |