projects/linux·commit 947bb758

arm64: put __boot_cpu_mode label after alignment instead of before

947bb758 · Ard Biesheuvel <[email protected]> · 2015-03-13 16:21:18 +01:00

Another one for the big head.S spring cleaning: the label should
be after the .align or it may point to the padding.

Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Commit
947bb7587fc2c1d1f6b89462ef1255ec30d4e682
Parents
60c0d45a

Changes

1 files changed · +1 −1

FileStatusAddDelContent
arch/arm64/kernel/head.Smodified+1−1View file

arch/arm64/kernel/head.S

View file
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
index 8ce88e0..07f9305 100644
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@ -585,8 +585,8 @@ ENDPROC(set_cpu_boot_mode_flag)
* zeroing of .bss would clobber it.
*/
.pushsection .data..cacheline_aligned
-ENTRY(__boot_cpu_mode)
.align L1_CACHE_SHIFT
+ENTRY(__boot_cpu_mode)
.long BOOT_CPU_MODE_EL2
.long 0
.popsection