[PATCH] ARM: proc-feroceon: Fix feroceon_proc_info macro

Ard Biesheuvel ard.biesheuvel at linaro.org
Wed Apr 29 08:05:12 PDT 2015


On 29 April 2015 at 16:56, Andrew Lunn <andrew at lunn.ch> wrote:
> bf35706f3d09 ("ARM: 8314/1: replace PROCINFO embedded branch with
> relative offset") broke booting for Kirkwood. The kernel would say:
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> Error: unrecognized/unsupported processor variant (0x56251311).
>
> Fix it by removing the extraneous .long __feroceon_setup from the
> feroceon_proc_info macro.
>
> Reported-by: Florian Fainelli <f.fainelli at gmail.com>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Fixes: bf35706f3d09 ("ARM: 8314/1: replace PROCINFO embedded branch with relative offset")

Acked-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>


> ---
>  arch/arm/mm/proc-feroceon.S | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mm/proc-feroceon.S b/arch/arm/mm/proc-feroceon.S
> index e494d6d6acbe..92e08bf37aad 100644
> --- a/arch/arm/mm/proc-feroceon.S
> +++ b/arch/arm/mm/proc-feroceon.S
> @@ -602,7 +602,6 @@ __\name\()_proc_info:
>                 PMD_SECT_AP_WRITE | \
>                 PMD_SECT_AP_READ
>         initfn  __feroceon_setup, __\name\()_proc_info
> -       .long __feroceon_setup
>         .long   cpu_arch_name
>         .long   cpu_elf_name
>         .long   HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
> --
> 2.1.4
>



More information about the linux-arm-kernel mailing list