Baruch Siach 5fb6946ad7 fix(console): fix crash on spin_unlock with cache disabled
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>
2022-11-29 03:35:23 +01:00
..
2019-01-04 10:43:17 +00:00
2019-09-11 14:15:54 +01:00