diff options
author | Soby Mathew <soby.mathew@arm.com> | 2014-12-04 14:14:12 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2014-12-04 16:09:00 +0000 |
commit | 235585b1932d976167f49f7d19a963af8acbc8ac (patch) | |
tree | 9c993d25fceb420d64454276179861383f15eb9f /services | |
parent | 435cdcf42be8b4540a7a0d112b33da19429cc654 (diff) |
Fix the array size of mpidr_aff_map_nodes_t.
This patch fixes the array size of mpidr_aff_map_nodes_t which
was less by one element.
Fixes ARM-software/tf-issues#264
Change-Id: I48264f6f9e7046a3d0f4cbcd63b9ba49657e8818
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/psci/psci_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/std_svc/psci/psci_private.h b/services/std_svc/psci/psci_private.h index 924a24f5..24a5604e 100644 --- a/services/std_svc/psci/psci_private.h +++ b/services/std_svc/psci/psci_private.h @@ -60,7 +60,7 @@ typedef struct aff_limits_node { int max; } aff_limits_node_t; -typedef aff_map_node_t (*mpidr_aff_map_nodes_t[MPIDR_MAX_AFFLVL]); +typedef aff_map_node_t (*mpidr_aff_map_nodes_t[MPIDR_MAX_AFFLVL + 1]); typedef unsigned int (*afflvl_power_on_finisher_t)(aff_map_node_t *); /******************************************************************************* |