From d0821a3f504749878447617534ef97c3fc33a154 Mon Sep 17 00:00:00 2001 From: TuxSH 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