arm64: put __boot_cpu_mode label after alignment instead of before
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 13 Mar 2015 15:21:18 +0000 (16:21 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 14 Mar 2015 11:02:26 +0000 (11:02 +0000)
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/head.S

index 8ce88e08c030e16b90d2772d377160a12465fce2..07f930540f4a8b96b520cb630226ce700f79e732 100644 (file)
@@ -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