[PATCH 1/1] arm64: Align an assembler string properly

Catalin Marinas catalin.marinas at arm.com
Mon Sep 2 07:28:27 EDT 2013


On Mon, Sep 02, 2013 at 11:48:02AM +0100, Radha Mohan wrote:
> From: Corey Minyard <cminyard at mvista.com>
> 
> Do a proper align and put it in the right section.
> 
> Signed-off-by: Corey Minyard <cminyard at mvista.com>
> ---
>  arch/arm64/mm/proc.S |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S
> index 76d8320..1f89adc 100644
> --- a/arch/arm64/mm/proc.S
> +++ b/arch/arm64/mm/proc.S
> @@ -95,10 +95,11 @@ ENTRY(cpu_do_switch_mm)
>         ret
>  ENDPROC(cpu_do_switch_mm)
> 
> +       .section ".rodata"
>  cpu_name:
>         .ascii  "AArch64 Processor"
> -       .align
> 
> +       .align 3
>         .section ".text.init", #alloc, #execinstr

Oh, we still have this in proc.S. I moved it long time ago to
arch/arm64/kernel/cputable.c but forgot about this. It compiles fine
after removing it completely.

-- 
Catalin



More information about the linux-arm-kernel mailing list