mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
fix(cc): code coverage optimization fix
Resolve issue where optimization is enabled for TF-A using -Og and compile fail is seen in PSCI module. Change-Id: Id9afb5c56a6937e7040b20cd01080c190c8276d5 Signed-off-by: Mark Dykes <mark.dykes@arm.com>
This commit is contained in:
parent
753da8ce45
commit
152ad112d7
1 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,8 @@ void psci_query_sys_suspend_pwrstate(psci_power_state_t *state_info)
|
|||
******************************************************************************/
|
||||
static bool psci_is_last_cpu_to_idle_at_pwrlvl(unsigned int end_pwrlvl)
|
||||
{
|
||||
unsigned int my_idx, lvl, parent_idx;
|
||||
unsigned int my_idx, lvl;
|
||||
unsigned int parent_idx = 0;
|
||||
unsigned int cpu_start_idx, ncpus, cpu_idx;
|
||||
plat_local_state_t local_state;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue