mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-04 20:38:41 +00:00
Current code skips load of spinlock address when cache is disabled. The
following call to spin_unlock stores into the random location that x0
points to.
Move spinlock address load earlier so that x0 is always valid on
spin_unlock call.
Change-Id: Iac640289725dce2518f2fed483d7d36ca748ffe8
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
(cherry picked from commit 5fb6946ad7)