diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-09-26 18:59:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 18:59:10 +0100 |
commit | 2152505276882d3e2c3648bbc76e6effc419a0cc (patch) | |
tree | 666855142792dddf56f5056b6ca09fa74d9a1bb3 | |
parent | 92d0926a4a4d839942613a755597494db545eeb8 (diff) | |
parent | 03f55a588e3f5946ef612b62cee2244b64e73484 (diff) |
Merge pull request #1110 from masahir0y/xlat
Fix MAP_REGION for GCC 4.9
-rw-r--r-- | include/lib/xlat_tables/xlat_tables_v2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/xlat_tables/xlat_tables_v2.h b/include/lib/xlat_tables/xlat_tables_v2.h index 2be43296..59f0955f 100644 --- a/include/lib/xlat_tables/xlat_tables_v2.h +++ b/include/lib/xlat_tables/xlat_tables_v2.h @@ -23,12 +23,12 @@ /* Helper macro to define entries for mmap_region_t. It allows to * re-map address mappings from 'pa' to 'va' for each region. */ -#define MAP_REGION(_pa, _va, _sz, _attr) ((mmap_region_t){ \ +#define MAP_REGION(_pa, _va, _sz, _attr) { \ .base_pa = (_pa), \ .base_va = (_va), \ .size = (_sz), \ .attr = (_attr), \ - }) + } /* * Shifts and masks to access fields of an mmap_attr_t |