[PATCH] ARM: proc-feroceon: Fix feroceon_proc_info macro
Andrew Lunn
andrew at lunn.ch
Wed Apr 29 07:56:55 PDT 2015
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")
---
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