summaryrefslogtreecommitdiff
path: root/include/arch/aarch64/asm_macros.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/aarch64/asm_macros.S')
-rw-r--r--include/arch/aarch64/asm_macros.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/arch/aarch64/asm_macros.S b/include/arch/aarch64/asm_macros.S
index b4dab085e..7d1407a22 100644
--- a/include/arch/aarch64/asm_macros.S
+++ b/include/arch/aarch64/asm_macros.S
@@ -186,11 +186,12 @@
.space SPINLOCK_ASM_SIZE
.endm
-#if RAS_EXTENSION
+ /*
+ * With RAS extension executes esb instruction, else NOP
+ */
.macro esb
.inst 0xd503221f
.endm
-#endif
/*
* Helper macro to read system register value into x0