From 310048a32ca80136983fcfc9823ca7105c0d604f Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 25 Jan 2020 16:13:16 +0000 Subject: [PATCH] thermosphere: small spinlock improvements --- thermosphere/src/spinlock_impl.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermosphere/src/spinlock_impl.s b/thermosphere/src/spinlock_impl.s index ee0359629..ffece8f38 100644 --- a/thermosphere/src/spinlock_impl.s +++ b/thermosphere/src/spinlock_impl.s @@ -28,6 +28,7 @@ FUNCTION spinlockLock mov w2, #1 sevl + prfm pstl1keep, [x0] l1: wfe l2: @@ -40,6 +41,5 @@ END_FUNCTION FUNCTION spinlockUnlock stlr wzr, [x0] - sev ret END_FUNCTION