Reduce time lock in psci_do_cpu_off
authorRoberto Vargas <roberto.vargas@arm.com>
Mon, 4 Sep 2017 15:49:41 +0000 (16:49 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Wed, 6 Sep 2017 13:48:15 +0000 (14:48 +0100)
commit216e58a31288bd25802d280c81a0e8d01b3b11d1
treeaf8e7f2bcb6b3601fe20c71528ac586c8cce95ba
parent942ee0d8cf936387c5e7891237e5fb0d58d7d250
Reduce time lock in psci_do_cpu_off

psci_set_power_off_state only initializes a local variable, so there
isn't any reason why it should be done while the lock is held.

Change-Id: I1c62f4cd5d860d102532e5a5350152180d41d127
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
lib/psci/psci_off.c