[boot-wrapper PATCH 01/12] Ensure `kernel_address` is aligned

Mark Rutland mark.rutland at arm.com
Thu Jul 29 08:20:39 PDT 2021


We accidentally placed the `.align` directive after the `kernel_address`
label, meaning that the label itself isn't necessarily aligned. Place
the `.align` directive first to ensure this.

Signed-off-by: Mark Rutland <mark.rutland at arm.com>
---
 arch/aarch64/spin.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/aarch64/spin.S b/arch/aarch64/spin.S
index 72603cf..ca05937 100644
--- a/arch/aarch64/spin.S
+++ b/arch/aarch64/spin.S
@@ -30,8 +30,8 @@ start_no_el3:
 	mov	x2, #0
 	bl	first_spin
 
-kernel_address:
 	.align 3
+kernel_address:
 	.long 0
 
 	.ltorg
-- 
2.11.0




More information about the linux-arm-kernel mailing list