aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2021-07-29 14:42:19 +0100
committerMark Rutland <mark.rutland@arm.com>2021-08-02 15:27:57 +0100
commitc1a09cc66c1efe18f06f924609f8798d328af2bc (patch)
treef897c8bbab445935af5a72e150dcda2bd8f8d3f0
parentcf13c653db78c849ac404a89e54f25d47154bd83 (diff)
downloadboot-wrapper-aarch64-c1a09cc66c1efe18f06f924609f8798d328af2bc.tar.gz
Ensure `kernel_address` is aligned
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@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--arch/aarch64/spin.S2
1 files changed, 1 insertions, 1 deletions
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